In the editor you see a simple switch statement. A switch statement comes in handy when you have a series of
else statements with multiple expressions that depend on the same value. The switch statement also provides a bit of efficiency and readability. Switches work like
if statements, if a condition is true, it executes a block of code.