Write a program that reads three non zero integers and determines and prints whether they could be
Fantastic news! We've Found the answer you've been seeking!
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* : 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.
Related Book For
Data Structures and Algorithm Analysis in Java
ISBN: 978-0132576277
3rd edition
Authors: Mark A. Weiss
Posted Date: