Question
C++ programming language POINTERS Write a program that dynamically allocates an array, on the Heap, large enough to hold 200 test scores between 55 and
C++ programming language
POINTERS
Write a program that dynamically allocates an array, on the Heap, large enough to hold 200 test scores between 55 and 99 -- using a Random Number generator to populate the array. Then do the following:
1) Sort scores in ascending order. 2) List your scores in rows of ten(10) values. 3) Calculate the Mean for the distribution. 4) Calculate the Variance for the distribution. 5) Calculate the Median for the distribution. 6) Calculate the Mode for the distribution. 7) Determine the number of scores in each of the discrete intervals specified below:
55-59|** 60-64|*** 65-69|***** 70-74|****** 75-79|*********** 80-84|**** 85-89|*** 90-94|** 95-99|* |----|----|----|----|----|----|----|----| 0 5 10 15 20 25 30 3 5 40
7a) List the number of scores in each interval.
7b) Display your Histogram Chart distribution to the Console screen.
Step 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