Write a program that reads in a set of positive integers,representing test score
ID: 3617290 • 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 inputdata. The numbers must be output in increasing order.
For example, the data set:
55 80 78 92 95 55 78 53 92 65 78 95 85 92 85 95 95 -999
The output is:
Test Score Count
53 -------- 1
55 ---------2
65 ---------1
78 ---------3
80 ---------1
85 ---------2
92 ---------3
95--------- 4