Project: Pythagorean Theorem
The Pythagorean Theorem in geometry defines the relationship between the three sides of a right triangle. If the square of the longest side (the hypotenuse) is equal to the sum of the squares of the other two sides, then the triangle is a right triangle. If this relationship does not hold, then the triangle is not a right triangle.
Write a program that prompts the user for the length of the hypotenuse and the other two legs. Then determine if the triangle is a right trangle and then print that it is or isn't a right triangle.
See [[Pythagorean Theorem]]
Output
File not found!: /kunden/homepages/39/d957328751/htdocs/pureprogrammer/rs/projects/output/PythagoreanTheorem.out