Question: I need to write this in C. I got an excellent answer to my question, but it is just missing the last part of the
I need to write this in C. I got an excellent answer to my question, but it is just missing the last part of the question that is generating a histogram representing the frequency of each response 1 to 9.
A survey was taken by the student representatives, Each response is a number from 1 to 9. The program computes the mean and mode of the data. 100 responses: 6, 7, 8, 9, 8, 7, 8, 9, 7, 8, 9, 8, 9, 8, 9, 5, 9, 8, 7, 8, 7, 8, 6, 7, 8, 9, 3, 9, 8, 7, 8, 9, 9, 8, 9, 8, 9, 8, 9, 7, 8, 9, 6, 7, 8, 7, 8, 7, 9, 7, 6, 5, 3, 5, 6, 7, 2, 5, 3, 9, 4, 6, 4, 7, 8, 9, 6, 8, 7, 8, 9, 7, 8, 7, 4, 4, 3, 6, 4, 6, 7, 5, 6, 4, 5, 6, 1, 6, 5, 7, 8, 5, 3, 6, 3, 5, 7, 5, 8, 9 Program: Initialize a single dimensional array with the data Calculate the mean, median and mode of the data Summarize the information in a table Generate a histogram representing the frequency of each response 1 to 9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
