Write a program to input length of three sides of a triangle. Then check if these
sides will form a triangle or not.(use if condition)
i.
ii.
Equilateral triangle (all sides equal length)
Isosceles triangle(any two sides of equal length)
Right triangle(sum of squares equal to square of opposite)
Answers
Answered by
0
Answer:
Then check if these sides will form a triangle or not. (Rule is : a + b >,c ; b + c > a ; c + a > b )
Similar questions