switch statement

switch statement used for user input