Code for a right angle triangle

Hi! I want design a code for a TRIANGLE in such a way that first the code should ask for the three INPUTS from the user. The executer will check if all three sides are equal it will show a message that triangle is RIGHT-TRIANGLE. Otherwise it will show a message that enter three inputs again. This LOOP will be continued until you get RIGHT-ANGLE triangle.
