Write down a program which will figure out the missing side of the right triangle utilizing the Pythagorean Theorem. Suppose that the user entries will make a triangle (that is, side C cannot be less than side A or side B)
Program should consist of following specification:
a) Ask user which side to figure.
b) Prompt user for other two sides.
c) Good user prompts.
d) Output is descriptive.
You will require at least following methods:
public static int figureSideA (int b, int c)
public static int figureSideB (int a, int c)
public static int figureSideC (int a, int b)