List the cases when converting an if/else to a switch
When converting an if/else to a switch, each of your if statements would be a case, ending with a break
If you have an if statement that uses the || (or) operator, you would have two cases together without a break in the middle. There would be a break after both the cases.
&& (and) can not be applied here since a switch only looks at a single variable, which has a single value