Course Solutions Uncategorized (Solved) : Assignment Geometry Calculator Else Write Program Displays Following Menu Geometry Calcula Q29501206 . . . .

(Solved) : Assignment Geometry Calculator Else Write Program Displays Following Menu Geometry Calcula Q29501206 . . . .

 

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

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post