Question: Program Written in C++ Sample Input / Output Write a program that computes statistical information on an array (you can only use 'sqrt' from 'math.h').
Program Written in C++
Sample Input / Output Write a program that computes statistical information on an array (you can only use 'sqrt' from 'math.h'). Enter N : 10 Enter data : 1 2 3 4.5 5.5 5.5 6.5 8 9 10 Average = 5.5 Standard deviation Input from user 2.972 %3D Size of the array - N N different array elements Write code to calculate and print the following: Z-scores = -1.51, -1.18, -0.84, -0.34, 0, 0, 0.34, 0.84, 1.18, 1.51 Average Standard Deviation Calculate z-scores- creates new array of z- Scores S = N -1 i=1 Zi S ||
Step by Step Solution
3.45 Rating (161 Votes )
There are 3 Steps involved in it
Answer include include mathh header file for sqrt function int main main function starts here int Ni ... View full answer
Get step-by-step solutions from verified subject matter experts
