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
# include stdio.h> # include conio.h> # include string.h> void main()   {           int i=0,j=0;           char a[100],temp;           clrscr();

Problem Statement: You have to write a C program to develop a Car Parking Management System for a busy commercial area. The system will record the car plate number, date and time w

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst. Shortest remaining time rst algori

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

What happens while a derived-class object is developed & destroyed? A: Space is allocated (on the heap or the stack) for the full object (i.e. adequate space to store the data m

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

Define a procedure that takes three numbers as arguments and returns the sum of the squares of the two larger numbers.

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. The area under a curve between two points can b

(a) Write a procedure called (add x y) that adds two numbers in a recursive manner. Specifically, note that x + y = (x + 1) + (y - 1) and x + 0 = x. (b) Using the substitution m

Write algorithm and program for the conversion of a Tree to a Binary Tree