To calculate and display hypotenuse area and
perimeter of the triangle program in computer application
Answers
Answered by
0
Answer:
Input : a = 5, b = 7, c = 8
Output : Area of a triangle is 17.320508
Input : a = 3, b = 4, c = 5
Output : Area of a triangle is 6.000000
Area = sqrt(s*(s-a)*(s-b)*(s-c))
where a, b and c are lengths of sides of
triangle and s = (a+b+c)/2
Similar questions
Environmental Sciences,
5 months ago
Math,
5 months ago
Biology,
5 months ago
Science,
11 months ago
Math,
11 months ago
Computer Science,
1 year ago
History,
1 year ago
Math,
1 year ago