Can anyone help me to program standard deviation? Here is the instructions for this program:
Write a program that takes as input five integers and outputs the mean and standard deviation of the numbers. If the numbers are val1, val2, val3, val4 and val5, the mean = (val1 + val2 + val3 + val4 + val5) / 5. The standard deviation is:
deviation =
Your program must contain at least the following functions: a function that gets one number from the user (this will be called 5 times), a function that calculates and returns the mean, and a function that calculates and returns the standard deviation.