Write a program to calculate area of a circle, a rectangle or a triangle depending upon user's choice
Answers
Answered by
1
Answer:
Area of Circle: 3.14*r*r (r=Radius)
Area of Rectangle: a*b.
Area of Triangle: sqrt(s*(s-a)*(s-b)*(s-c)); Where S=(a+b+c)/2;
Similar questions