Program to calculate the hypotenuse of a right triangle