User Profile

Collapse

Profile Sidebar

Collapse
loide25
loide25
Last Activity: Sep 17 '19, 05:22 AM
Joined: Sep 12 '19
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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.
    See more | Go to post

  • harmonic Series to compute the sum of a harmonic series where n=1000

    how to write a harmonic series to compute the sum of a harmonic series 1+1/2+1/3+1/4+1/n,where n=1000.The program shall prompt the user for the value of n.Keep the sum in a double variable and take note that 1/2 gives 0 but 1.0/2 gives o.5.
    See more | Go to post
No activity results to display
Show More
Working...