Question: Please write a program and show me in detail. Thank you Wnte a program that displays the following menu: Geometry Calculator- Choose one of the
Wnte a program that displays the following menu: Geometry Calculator- Choose one of the following options: 1.Calculate the area of a circle 2.Calculate the area of a rectangle 3 Calculate the area of a tiangle If the user enters I, the progam shoud asi tor the radits f the cidle (area PI If the user enters 2, the program should ask for the length and width of the rectangle If the user enters 3, the program should ask for the base and height of the tiangle. If the user enters any other ralue, the program should display an error msg. The program should display the acea. Use the switch statement
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
