Computer Science, asked by prashant891, 1 year ago

write algorithm find area of traingle using heroes formula

Answers

Answered by kvrslsomnath
0

Heron's Formula for finding area of triangle:


First find the semi parameter of a triangle using formula, s= (a+b+c)/2 where a, b, c are three sides of triangle and s will the semi parameter.

Then use the below formula to get the area of triangle. Area = √s(s-a)(s-b)(s-c)

Similar questions