Computer Science, asked by poojakafaliya2001, 10 months ago

To calculate and display hypotenuse area and
perimeter of the triangle program in computer application

Answers

Answered by azpatter
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