a program reads in 500 integers in the range [O... 100]representing the scores of 500
students.it then prints the frequency of each score above 50.what would be the best way for the
program to store the frequencies?
a. An array of 101 numbers
b. An array of 50 numbers
C. An array of 500 numbers
d. A dynamically allocated array of 550 numbers
Answers
Answered by
0
Answer:
option B is the best choice.
Answered by
0
The answer is (b) as we need to store the frequencies of scores above 50. Since the range is from 0-100, therefore number of frequencies above 50 will be 50.
Similar questions