Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Computers are commonly used to compile and analyze the results of surveys and op

ID: 3642366 • Letter: C

Question

Computers are commonly used to compile and analyze the results of surveys and opinion polls. Write a program that surveys data analysis. Compute the mean, median, and mode of the data. Use 99 responses for the survey. Each response is a number from 1 to 9. Numbers can be generated by random number generator. Include a histogram to aid in determining the mode graphically.
SAMPLE OUTPUT
*MEAN*
The mean is the average value of the data items. The mean is equal to the total of all the data items divided by the number of data items(99). The mean value for this run is : total/99 (number is here)
*MEDIAN*
The unsorted array of responses is =>

Explanation / Answer

#include #include using namespace std; int main() { int response[99],i,j,sum=0,temp; double mean; for(i=1;i
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote