Assignment 01 C
Assignment 01 C
Hints:
Hint 1 -- Use doubles all the way through
Hint 2 -- To compute square root and power look up the
Math class methods pow and sqrt
To use pow function, please understand the statement
below:
In System.out.println(hyp)
use the following statement in place of hyp
DecimalFormat.getInstance().format(hyp);