Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C - Program Lab4 No arrays are to be used for this lab Write a program that prompts the user to enter a fixed set
C - Program
Lab4 No arrays are to be used for this lab Write a program that prompts the user to enter a fixed set of integer data items using the keyboard, stores them. The program then calculates and displays the mean and standard deviation of the data set. a. The program should display each entered number immediately after it is entered. b. After all data elements have been entered the program should display all entered numbers on a single line with 2 blank spaces between them. c. The program should then call 2 functions: i. The first function returns the average of the values in the data set. ii. The second function uses the average above to calculate the population standard deviation of the data set. 2) Average calculation: The usual sum of all data elements divided by the number of elements 3) Standard deviation calculation: Look-up the standard deviation formula 4) 5) 6) Display the Average and Standard Deviation on the same line Loop the program continually so new data sets can be entered. Generate some test cases and test your program. Compile and run the program on the DEO. a. On the Monitor Program screen where the C-program is selected: Enter "-Im" in the Additional Linker Flags line 8) For checkoff program must calculate correct results for 10 user entered numbersStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started