- 4

How to solve this program?

Write a program that will take the three sides of a triangle as the input and will print whether the triangle is Equilateral, Isosceles or Scalene. If the triangle is Isosceles or Scalene then it will also print whether the triangle is Right angled triangle or not.

3rd Jul 2021, 6:13 AM
Om Debasish10b4292
Om Debasish10b4292 - avatar
1 ответ
+ 2
equilateral => all sides equals isocceles => 2 sides equals scalene => no sides equals rigth angled triangle => one side raised to power of two == sum of (others sides raised to power of two)
3rd Jul 2021, 6:18 AM
visph
visph - avatar