Question: Do-While loops are often used to quit a program from a menu of choices. create a program that utilizes a DO-WHILE loop to redisplay a

Do-While loops are often used to quit a program from a menu of choices.

create a program that utilizes a DO-WHILE loop to redisplay a menu to the user.

Ask the user to input their favorite SuperHero and display a positive or funny comment about the chosen SuperHero. If RBG is chosen, display "You can't spell TRUTH without RUTH."

Utilize a Do-While Loop to redisplay the menu to the user after item 1, 2 or 3 is executed. If item 4 is chosen, end the program.

If the user chooses 4, end the program.

1. Superman (or a SuperHero of your Choice)

2. Batman (or a Superhero of your choice)

3. The Notorious RBG (non-negotiable, RBG must be a menu choice)

4. Quit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!