Question: Use C language please 1) Write a main program that prompts the user to enter a fixed number of integer data items using the keyboard

Use C language please 1) Write a main program that prompts theUse C language please

1) Write a main program that prompts the user to enter a fixed number of integer data items using the keyboard and stores them in an array a. The program should display each entered array element on a separate line. b. The program should then call 2 functions: i. ii ii. Note that the user data acquisition task can also be written as The first function returns the average of the values in the data array The second function uses the average above to calculate the standard deviation of the array values. a function. 2) Average calculation: a. Use the usual sum of all elements divided by the number of elements to calculate the average Standard Deviation calculation: 3) a. Subtract the calculated average from each array value. The result is o new set of array values, each called a deviation. b. Square each deviation. c. Take the average of the squared deviations, as in step 2 d. Take the square root of the result of step c (above). This is the Standard Deviation. 4) 5) Display the Average and Standard Deviation Loop the program continually so new arrays can be entered

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!