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.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">