calculating and printing the sum,mean,variance and standard deviation of 7 numbers.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • loide25
    New Member
    • Sep 2019
    • 2

    calculating and printing the sum,mean,variance and standard deviation of 7 numbers.

    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.
  • dev7060
    Recognized Expert Contributor
    • Mar 2017
    • 656

    #2
    Have a look at the posting guidelines and mention what you have done so far for this.

    Comment

    Working...