Question: In C + + create a program that displays a menu to calculate the area of a circle, a rectangle, a square, or a triangle.

In C++ create a program that displays a menu to calculate the area of a circle, a rectangle, a square, or a triangle. The program should calculate the area of the figure selected. The display should look something like this:
Shape Area Calculator (SAC)
1. Calculate the area of a Circle
2. Calculate the area of a Rectangle
3. Calculate the area of a Square
4. Calculate the area of a Triangle
5. Quit
Command starts with "Enter your choice (1-5):"

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!