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

write a program that reads in a set of positive integers,representing test score

ID: 3611376 • Letter: W

Question

write a program that reads in a set of positive integers,representing test scores for a class, and outputs how many times aparticular number appears in the list. you may assume that the dataset has at most 100 numbers and -999 marks the end of the outputdata. the numbers must be output in increasing order. for example,for the data:

55 80 78 92 95 55 78 53 92 65 78 95 85 92 85 95 95

the output is:

testscore           count
53                         1
55                         2
65                         1
78                         3
80                         1
85                         2
93                         3
95                         4

Explanation / Answer

please rate - thanks #include using namespace std; int main() {int numbers[101]={0},i,num; coutnum; while(num!=-999)     {numbers[num]++;      coutnum;      } cout