#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) | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
- 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 Resposta
+ 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