Switch

The switch statement is somewhat similar to an if/else statement but can be easier to read when there are many different possible conditions.

Example 1