Java program to find out the Hypotenuse of a right angled triangle

This program will tell you the length of the hypotenuse side using the Pythagoras theorem.
For more details on Pythagoras theorem, please click here.

The program asks the user to input the length of two sides and then it calculates the hypotenuse using the Pythagoras theorem.

Hypotenuse in java

Tested in Eclipse.

The following two tabs change content below.