10.4k views
3 votes
In a right triangle, the square of the length of one side is equal to the sum of the squares of the lengths of the other two sides. Write a program that prompts the user to enter the lengths of three sides of a triangle and then outputs a message indicating whether the triangle is a right triangle. Assume the user does not know the hypotenuse. You may NOT ask the user for the hypotenuse. Meaning, you have to check all 3 sides to verify that it is a right-angled triangle.

User Joaopfg
by
4.7k points

1 Answer

4 votes

Answer:

can you explain your question please i didnt fully understand it

Step-by-step explanation:

User Zuabi
by
6.1k points