write a program in python to input three sides of triangle and print its area.
Answers
Answered by
1
Answer:
Three sides of the triangle is a, b and c:
a = float(input)
b = float(input)
c = float(input)
calculate the semi-perimeter.
s = (a + b + c) / 2.
calculate the area.
area = (s*(s-a)*(s-b)*(s-c)) *0.5.
Answered by
5
Answer:
sorry for spamming
yea u can understand
no problem dear...(θ‿θ)
Similar questions