Question: Write a program that will calculate the areas of different shapes. The program will display a menu of different shapes for the user to choose
Write a program that will calculate the areas of different shapes. The program will display a menu of different shapes for the user to choose from. When user selects a shape, the program will determine using if statements which option from the menu was chosen and do the shapes area calculation and display the results to the screen
sample Run and output:
Menu to calculate areas of shapes
square
circle
right triangle
quit
Which shape would you like to get the Area for?
Please select your choice or to quit
Input the radius of the circle:
The Area of the circle is
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
