This is assignment for Geometry Calculator = IF ELSE
Write a program that displays the following menu:
Geometry Calculator
1. Calculate the area of a circle
2. Calculate the area of a rectangle
3. Calculate the area of a triangle
4. Quit
Enter your choice (1-4):
If the user enters 1, the program should ask for the radius ofthe circle and then display its area. Use the followingformula:
Area = pi * r^2
Use 3.14159 for pi and the radius of the circle for r. If theuser enters 2, the program should ask for the length and the widthof the rectangle and then display the rectangle’s area. Use thefollowing formula:
area
PayPal Gateway not configured
PayPal Gateway not configured