Java Program to Check for Right Angled Triangle
Too Long; Didn't ReadA right-angled triangle is a triangle with one of its interior angles equal to 90 degrees or any one angle is a right angle. Pythagoras’s Theorem is mentioned in the Baudhayana Sulba-sutra of India, which was written between 800 and 400 BCE. The square of the hypotenuse is equal to the sum of the squared of the squares of the other two sides of a triangle. If the square is equal, the triangle is left-angled.