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

1 Expert Approved Answer
Step: 1 Unlock

Solutio... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!