In programming cases where you have more than two possible conditions, a switch statement is your best friend, as it can test for a variety of different conditions and respond accordingly. In this lesson, try your hand at using switch statements.
S01E14 · Java Branching Statements: if, if-else, and else-if
S01E16 · The do-while Loop and the for Loop in Java