Question: Write a program that reads three non zero integers and determines and prints whether they could be the sides of a right angle triangle. (Hint*
Write a program that reads three non zero integers and determines and prints whether they could be the sides of a right angle triangle. (Hint* : Pythagorus Theorem a2 + b2 = c2 )
So your program should take three variables a, b and c and check that the sum of square of a and square of b should be equal to the square of c.
Step by Step Solution
There are 3 Steps involved in it
Solutio... View full answer
Get step-by-step solutions from verified subject matter experts
