Write a program to take three sides of a triangle and check if they can form a triangle or not. If they form a triangle then find it's area using heron's formula
Answers
Answered by
2
ANSWER
To find the area of a triangle with 3 sides given as: 3, 6, and 7, we assume that a = 3, b = 6, and c = 7.
Then the semi-perimeter is, s = (a + b + c)/2 = (3 + 6 + 7)/2 = 8. We will find the area of the triangle using the Heron's formula
Similar questions