Write a menu driven java program to find the area of a Equilateral triangle , a right angled triangle , a scalene triangle respectively
[ Hint area of Equilateral triangle = √3/4*a2
Area of a right angled triangle = ½ b* h
Area of a scalene triangle = √ s(s-a)*(s-b)*(s-c)
Where , s = (a + b + c)/2 ]
Answers
Answered by
0
Answer:
[ Hint area of Equilateral triangle = √3/4*a2
Area of a right angled triangle = ½ b* h
Area of a scalene triangle = √ s(s-a)*(s-b)*(s-c)
Where , s = (a + b + c)/2 ]
Similar questions
Social Sciences,
3 months ago
Social Sciences,
3 months ago
English,
7 months ago
English,
7 months ago
Science,
11 months ago
English,
11 months ago