Problem Statement:  Write a program to calculate the hypotenuse of a right triangle, given the lengths of
the two other sides.  The output should be a floating point number with 2 decimal places. Assume the inputs
are positive floating point numbers.

Example Test Plan

Student Joe Student
Program Find Hypotenuse
No. Description Input Data Expected Output
1 Verify prompt.
Enter the lengths of the two sides.
2 Verify calculations with simple numbers
sqrt(32 + 42)
= sqrt(9 + 16)

= sqrt (25)
= 5

3.0 4.0 Enter the lengths of the two sides.

The length of side A is 3.00

The length of side B is 4.00

The length of the hypotenuse is 5.00

3 Result has decimal places.

Positive float

4.0 5.0 6.40
5 Boundary Condition:

zero

0.0 0.0 0
6 Valid Data:

two digit float

10.0 12.0 15.62
7 Valid Data:

first number larger

12.0 10.0 15.60