Make c++ program that help health visitor statistics, C/C++ Programming

Pupils' heights
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
Maximum Number of Students lies between 173 and 179

 

 

Posted Date: 3/19/2013 2:30:11 AM | Location : United States







Related Discussions:- Make c++ program that help health visitor statistics, Assignment Help, Ask Question on Make c++ program that help health visitor statistics, Get Answer, Expert's Help, Make c++ program that help health visitor statistics Discussions

Write discussion on Make c++ program that help health visitor statistics
Your posts are moderated
Related Questions
How does free know the size of memory to be deleted.? int *i = (int *)malloc(12); followed by free(i); how did free function call know how much of memory to delete? A: It bas

A: A smart pointer is a C++ class which mimics a regular pointer in syntax and some semantics, however it does more. Since smart pointers to distinct types of objects tend to have

why oops

Write a ''C'' program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number.

A body which has three forces acting on it is in equilibrium. One force is 3N to the North and the other is 4N to the west. What us the magnitude and direction of the third force?

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b.     #include float start


#questio#A Padovan string P(n) for a natural number n is defined as: P(0) = ‘X’ P(1) = ‘Y’ P(2) = ‘Z’ P(n) = P(n-2) + P(n-3), n>2 where + denotes string concate


drawbacks in assignments in engeenirng