Answer to Question #20271 in Java | JSP | JSF for Zach
Write a JAVA program that takes as input five numbers and outputs the mean
(average) and standard deviation of the numbers. If the numbers are x1, x2,
x3, x4, and x5, then the mean is x ¼ (x1 + x2 + x3 + x4 + x5)/5 and the
standard deviation is:
Your program must contain at least the following functions: a function that calculates and returns the mean and a function that calculates the standard deviation.
format the output to 2 decimal places