Computer Science, asked by Vyshakhjnanaseelan, 8 months ago

write python program to find area of triangle

Answers

Answered by greatfanofdhoni
30

Answer:

# Three sides of the triangle is a, b and c:

a = float(input('Enter first side: '))

b = float(input('Enter second side: '))

c = float(input('Enter third side: '))

# calculate the semi-perimeter.

s = (a + b + c) / 2.

# calculate the area.

area = (s*(s-a)*(s-b)*(s-c)) ** 0.5.

Answered by sornapudivgsuparnaku
5

Answer:

here is the answer

Explanation:

hope it helps:)

Attachments:
Similar questions