Write a program using a function called area () to display the area of:
1. Equilateral triangle = -s2, s = side of an equilateral triangle
2. Isosceles triangle = 4a2 - b2, a == equal sides of a triangle and b = base
3. Scalene triangle = s (s m) (s - n) (s - p), where s m+n+2 and m,
n, p are three sides of a triangle
Display the menu to display the area as per user's choice.
Answers
Answered by
0
Explanation:
4th one ma area is a place where
Answered by
2
Write a program using a function called area() to compute area of the following (a) Area of circle = 22/7*r*r. (b) Area of square= side * side. (c) Area of rectangle = length * breadth. Display the menu to display the area as per the user's choice.
Similar questions