- 2
Simon was working in a casa grande.His superior officer ordered him to construct a new building by incorporating
But he has no idea about equilateral, scalene and isosceles triangle If no Sides are Equal then it is a Scalene Triangle Constraints: Can you clarify his doubt by giving him the correct category of triangle based on the values of sides given by simona Functional Description : If All the Sides are Equal then it is a Equilateral Triangle If two Sides are Equal then it is a Isosceles Triangle 1<=sidel<=100 1<=side2<=100 I<aside3<=100 Input Format: Each line has values of type integer separated by enter key representing 'sidel' 'side2' and 'side 3' Output Format: Print as either equilateral or scalene or isosceles triangle based on the values of the sides.
3 Réponses
+ 2
use if statements
0
Do you have a code that isn't working? Please share it. Someone might be able to help.
People shouldn't be doing your homework for you.