Read in the lengths of the sides of a triangle and determinewhether the triangle
ID: 3611041 • Letter: R
Question
Read in the lengths of the sides of a triangle and determinewhether the triangle is an isosceles triangle (two sides areequal), an equilateral triangle (three sides are equal), or ascalene triangle (no sides are equal). The lengths of the sides ofthe triangle are to be entered as integer values. For each set ofsides, print out the kind of triangle or an error message sayingthat the three sides do not make a triangle. (For a triangle toexist, any two sides together must be longer than the remainingside.) Continue analyzing triangles until end-of-file occurs.