As you aware that this is very common question asked in exams in school. Basic logic to get this is to check if any of the sides square value is equal to the addition value of squares of other two side. For example if a, b, c are three sides then if a**2 = b**2+c**2 then this triangle will be the right angle triangle. This logic is valid for any of the side from a, b, c. Lets have a look into the program.

**Output – **

First Side – 6

Second Side – 5

Third Side – 4

NOT A RIGHT ANGLE TRIANGLE

First Side – 3

Second Side – 4

Third Side – 5

Given data is making a RIGHT ANGLE TRIANGLE