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
Conversion Functions Conversion functions are member functions used for the following purposes: 1. Conversion of object to basic data type. 2. Conversion of basic data ty


Explain Object-oriented programming Object-oriented programming (OOP) attempts to meet these requirements, providing methods for managing enormous complexity, achieving reuse o


Q: But operator overloading makes class look ugly; isn't it assumed to make my code clearer? A: Operator overloading makes life simpler for the users of a class, not for develop

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

How do you declare an integer variable? Explain with an example.

A: No. Syntax wise it is permitted. But then the function is no longer Inline. Since the compiler will never know how deep the recursion is at compilation time.

how is it made

#queWrite 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. The area under a curve between two points c