Question 2
The health visitor at a school is going to measure the heights of all pupils. For each class she makes a statistics giving the number of pupils of each height and the average height. Make a C++ program that helps the health visitor making the statistics.
Example: In a class with 20 pupils the heights of the individual pupils, in centimeters, are:
175, 167, 160, 164, 183, 187, 188, 179, 176, 175,
169, 175, 176, 178, 165, 160, 173, 165, 187, 178
The program should 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
I need help on this C++ question (answer to include working code)?
For free try daniweb or else you may contact a C++ expert live at website like http://askexpert.info/ .
Reply:Pick One of these sites:
If you want specific help / have some doubts and want some help with YOUR code (http://cboard.cprogramming.com/ )
If you want a readymade code...which clearly is the case looking at your question, pick this(http://www.rentacoder.com/RentACoder/def... )
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment