Hey yall. Trying to teach myself C++ using the book "Programming and Problem Solving With C++" (5th ed.) by: Nell Dale and Chip Weems... and it's no cake walk. I have a new found respect for programmers and programming in general. Anyway, if any of yall can help me figure out the coding for this, I'd be in your debt.
p. 180
3.) Write a C++ program that computes and outputs the mean and standard deviation of a set of four integer values that are input by the user. The mean is the sum of the four values divided by 4, and the formula for the standard deviation is:
n
s= ∑ (x - x)^2
i=1 n=1
(The 'E' stands for the Sigma symbol (summation). For the 1st 'x', there should be an 'i' as a subscript. For the 2nd 'x', it is supposed to be an x-overbar: The overline is used to indicate a sample mean. The entire equation (after s=) should be housed under a big square root symbol. Treat the division sign(s) as a simple division line. The 'n' should be directly over the 'E' and the i=1 should be directly under the 'E' (Sigma).
Thanx Yall,
-Brooks