Repeat the previous exercise using a selection structure instead of a case structure. Data From previous exercise

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 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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: