Problem:

Prompt the user to enter 3 sides of a triangle. Assume that the sides are positive integers. Determine, if these sides form a right angled triangle. Apply Pythagoras’s Theorem: Square of the hypotenuse is equal to the sum of the squares of the other two sides. In this particular problem, any one of the three sides that the user enters could be the hypotenuse or none of the sides.

My Solution

### Like this:

Like Loading...

*Related*

This entry was posted on 09/25/2009 at 22:09 and is filed under Classwork. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.

## Leave a Reply