Question: Allow the user to input their name. Use switch/case to do the following: If the user inputs 'Paul' inform the user that he may be
Allow the user to input their name. Use switch/case to do the following: If the user inputs 'Paul' inform the user that he may be the instructor for MAE-10. If the user inputs 'John' or 'Bill' inform the user that he has 4 letters in his name. If the user inputs 'Susan' ask the user for a number. If the number is greater than 10, print 'Hello!' to the screen. Otherwise, print 'Bye!' to the screen. You may use an if statement for this part of the problem. If the user's name is none of the above, then inform the user that he/she should eat a taco
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
