Question: Write a script areaMenu that will print a menu consisting of Cylinder, Circle, and Rectangle. It waits for the user to choose from the menu
Write a script areaMenu that will print a menu consisting of Cylinder, Circle, and Rectangle. It waits for the user to choose from the menu then prompts the user for the appropriate quantities (e.g., the radius of the circle) and then prints its area. The script should use switch statement. (Units are assumed to be inches).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
