Here's a link to the tutorial: https://docs.oracle.com/javase/tutorial/java/nutsandbolts/switch.html
Type: Posts; User: Norm
Here's a link to the tutorial: https://docs.oracle.com/javase/tutorial/java/nutsandbolts/switch.html
One change I see is the list of if statements should be replaced by a switch statement.