Question: how to calculate mean and standard deviation in java?
Answer: For the standard deviation, i use a for loop to go back through the array I filled with the user prompted values and subtract the mean from each value, then square it. Then one more for loop to sum them all together, divide by the number of values, and then square root it.