- 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.
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)