
ECET 370 ECET370 Homework 2 Solution
ECET 370 Homework 2 (DEVRY)
HW #2: Searching & Sorting
Objective: Write a program that reads in a set of positive integers, representing test scores for a class, and outputs how many times a particular number appears in the list. You may assume that the data set has, at most, 100 numbers and that -999 marks the end of the input data. 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