Question: Code needs to be in C 1. (Lastname_Lab4_pl.c. 25 points) Write a program to assign 30 random integer numbers between 50 and 100 inclusive into

 Code needs to be in C 1. (Lastname_Lab4_pl.c. 25 points) Write

Code needs to be in C

1. (Lastname_Lab4_pl.c. 25 points) Write a program to assign 30 random integer numbers between 50 and 100 inclusive into an array called grades. a) Calculate the average of the numbers and use the average to determine the deviation of each value from the average. Store each deviation in an array named deviation. Display each deviation alongside its corresponding element from the grades array. b) Calculate the variance of the array. The variance is obtained by squaring each individual deviation and dividing the sum of the squared deviations by the number of deviations

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!