Question: can anyone help write this in c++? Write a c/c+ program that accepts an input vector of N test grades from the user typed in

 can anyone help write this in c++? Write a c/c+ program
can anyone help write this in c++?

Write a c/c+ program that accepts an input vector of N test grades from the user typed in one by one with a for loop, then calculates the variance, standard sum, mean, deviation for the grades and prints out to screen. Note for loops will be needed to calculate the sum of grades and the variance. Also use for loops to find the minimum and maximum grades; as well as the # of even and odd grades .. Use the following formulas in your program: Mean = sum of grades/N Variance = sum of (grades [i] - mean)* (grades[i]-mean) Std_dev = sqrt(variance)/(N+1) After writing your code, test with following 36 grades 88, 76, 56, 4990, 82, 71, 66.69, 94, 97.85, 81, 7o.33, 58, 65, 7s, 89, 93, 92, 86, 74, 79, 64, 59, 68, 78, 84, 98, 99 47, 80, 55, 74, 100 Write a C/C++ program that uses a random number generator (see pp 78-80 in Schaums) to create a random number vector containing N numbers, between the lower and upper limits of MIN and MAX, respectively. Print out the random number vector, then have your program do the following statistics calculations: The sum of all the random numbers The mean value The variance (see formula above) The standard deviation (see formula above) Count the number of even and odd random numbers Find the minimum and maximum values After writing your code, test with N = 200, LOW = 40, HIGH = 100

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!