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
A PROGRAM TO CALCULATE AREA OF TRIANGLE

create a flowchart that display the assume that there are 3 section each student ?

Purpose This assignment is an exercise in implementing the queue ADT using a singly-linked list. This assignment also introduces the concept of templates. Assignment Th

An experiment succeeds twice as often as it fails. Find the chance that in the next six trials there will be at least four successes.

Write a function that has two int parameters num and n, and returns TRUE when the nth bit in num is 1, otherwise FALSE. This function should use the function in the above problem.

Given an integer n and a permutation of numbers 1, 2 ... , n-1, n write a program to print the permutation that lexicographically precedes the given input permutation. If the given

The definition of an object(variable ): We can explain a variable(set memory to the variable) in the following ways. e.g. double salary; int month; When more than o

Write a Haskell program that calculates a balanced partition of N items where each item has a value between 0 and K such that the difference between the sum of the values of first

Write a Program to illustrate the Call by Reference? Here is an illustration: #include . int compute_sum(int *n); int main( void) { int n=3, sum; printf("%d\n",n); /