Question: Specifications: Create a menu - driven program that finds and displays areas of 3 different objects. The menu should have the following 4 choices: 1
Specifications: Create a menudriven program that finds and displays areas of different objects. The menu should have the following choices: square circle right triangle quit If the user selects choice the program should find the area of a square. If the user selects choice the program should find the area of a circle. If the user selects choice the program should find the area of a right triangle. If the user selects choice the program should quit without doing anything. If the user selects anything else ie an invalid choice an appropriate error message should be printed. Sample Run Program to calculate areas of objects square circle right triangle quit Radius of the circle: Area Step : Once you have your program working, run it times, each time testing a different valid menu choice. Then run it a fifth time using an invalid menu choice such as or Make sure your program works correctly for all cases.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
