Exercise 5 - 1Q18-19 CS126-8L
Exercise 5 - 1Q18-19 CS126-8L
3. Once done, your file (.cpp) must also submit to the blackboard account for checking
5minutes before the time submission. Failure to submit will get a grade of ZERO for this
exercise.
Using switch case statement, create a C++ program that will prompt the user to enter a
letter in an alphabet A-Z and display the corresponding object.
***NOTE:
1. use an error handle (default if choice is invalid) and do-while loop for input
validation.
2. use nested loop for EACH letter inside the case of switch
3. topic from this exercise is only up to Iterative – nested loop
4. If you do not follow the requirements DEDUCTIONS will apply to your exercise 5.
Below are the patterns you may use in displaying the letters of the alphabet
Sample output: