Question: Repeat the previous exercise using a selection structure instead of a case structure. Data From previous exercise Write a code segment to ask a user
Repeat the previous exercise using a selection structure instead of a case structure.
Data From previous exercise
Write a code segment to ask a user to enter a number between 1 and 4 , and print the name of the class (First-Year, Sophomore, Junior, and Senior) corresponding to the number. Use a case structure.
Step by Step Solution
3.48 Rating (155 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
