Illustrates the use of the switch statement