- 1

#finding area of triangle a=5 b=6 c=7 s=(a + b + c ) / 2 k=s((s-a)*(s-b)*(s-c)) **0.5 print("area of triangle is :-",k)

Find the error and coorect the code

13th Aug 2019, 5:01 PM
lokesh
lokesh - avatar
1 Respuesta
+ 1
formular is A = h*b/2 A for area, h is triangle's height and b is base length
13th Aug 2019, 6:13 PM
Mind To Machine 💻🕆
Mind To Machine 💻🕆 - avatar