"Write a program that gives the user the choice of computing of the following; the area of a circle, square, a rectangle, or a triangle: The program computes and refers to the following formulas:
Choices:
Area of circle = pi radius radius Area of square = side side Area of rectangle length width Area of triangle = %z base height
(3) Area of Circle Area of Square Area of Rectangle Area of Triangle
Let's assume these options:
Your Choice: 4
1=> AREA OF CIRCLE 2=> AREA OF SQUARE 3-> AREA OF RECTANGLE 4=> AREA OF TRIANGLE
Area of Triangle_
Enter base Enter height
6.0 5.0
Area is
15.00"