Think of switch as a multiple choice decision, and an if statement as a true/false.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
switch(myVar){ // Test myVar as the decision making variable
case 1: // If myVar is 1, then do this
...
...
break; // Always break after a case, this will kick you out of the switch
case 2: // If myVar is 2, then do this
...
...
break;
default: // Default is what happens if myVar isn't the same as anything selected by case
...
...
break;
}