Question: Prompts the user to perform to choose a function from a menu by number. o Repeat this prompt after each action until the user requests
Prompts the user to perform to choose a function from a menu by number. o Repeat this prompt after each action until the user requests exit zero should allow the user to exit the program. o If an invalid choice is given, the program should allow the user to enter a different one Write and use the following functions in your program: o showMenu displays the menu for the user to see options o get choice allows the user to choose an option from the menu. o set Radius 0:set the radius of the sphere to a value determined by user input prompt the user repeatedly until a non-negative value is provided
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
