Write a C++ program that will calculate and print the sum, mean, variance, and standard deviation of 7 numbers. The numbers must be input as data. This input data must be printed by the program. If your seven numbers input has been named A, B, C, D, E, F, G, then the variance may be computed as variance=(A-mean)^2+(B-mean)^2+(G-mean)^2}/6 and the standard deviation is the square root of the variance.
calculating and printing the sum,mean,variance and standard deviation of 7 numbers.
Collapse
X
Comment