Let's say I have 5 boolean values:
bool a;
bool b;
bool c;
bool d;
bool e;
If they evaluate as true 'a', 'b', 'c' and 'd' should have their associated code run. If 'e' evaluates as true then only its associated code is run and the values of 'a', 'b', 'c' and 'd' ignored.
How then can I put this logic into a switch case statement? It is straight forward with nested if statements but I would like to know if there is a way to do it with switch/case.