i need you to help about c++ program in array that is
the health visitor at a school is going to measure the height of all pupils. for
each class she makes a statistics giving the number of pupils of each height
and the average height
example:- lets say that we have x[20] then
input
175,167,160,164,183,187,188,179,176,175,
169,175,176,178,165,160,173,165,187,178
the program shoule read in all the numbers and make a table like this:
height number of pupils
160----------------------------------------------2
164----------------------------------------------1
165----------------------------------------------2
167----------------------------------------------1
...----------------------------------------------...
...----------------------------------------------...
188----------------------------------------------1
average height 174.0