Write a program to enter three sides of a triangle and check whether the triangle is possible or not. If possible then display whether an Equilateral, an Iso-Sceles or a scalene Triangle, otherwise display a message "Triangle is not possible".(pls don't use scanner class)
Answers
Answered by
0
A triangle is a valid triangle, If and only If, the sum of any two sides of a triangle is greater than the third side.
For Example, let A, B and C are three sides of a triangle. Then, A + B > C, B + C > A and C + A > B.
Similar questions