Question: Find the code that computes the standard deviation of the 5 numbers which are taken from the keyboard. Not yet answered Marked out of 10.00





Find the code that computes the standard deviation of the 5 numbers which are taken from the keyboard. Not yet answered Marked out of 10.00 Flag question where, = population standard deviation = sum of... = population mean n= number of scores in sample. Select one: a. float p(f loat a, float b, float c, float d, f, {(ab)(ab); float p (float a, float b, float c, return (ab)(ab); float f(floata, float b, float c, float k,m; k=a+b+c+d+e; k=5,0; m=p(a,k,b,c,d); m+=p(a,k,b,c,d); m+p=0,k,b,d); m+=p(a,k,b,c,d); m+=p(a,k,b,c,d); return sqrt (m/5,0); int main ()\{ float a,b,c,d,e; cin>>a>>b>>c>>d>>e; float z=p(a,b,c,d,e); cout0; \} b. float p(float a, float b, float c, floa \{ \} return (ab)(ab); float f (float a, float b, float c, floa \{ float k,m; k=a+b+c+d+e; k/=5.0; m=p(a,b,c,d,e); m+=p(a,b,c,d,e); m+=p(a,b,c,d,e); m+=p(a,b,c,d,e); m+=p(a,b,c,d,e); return sqrt(m/k); 3 int main () \{ float a,b,c,d,e; c in >a>b>c>d>>; float z=p(a,b,c,d,e); cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
