Heights of the individual pupils

Assignment Help C/C++ Programming
Reference no: EM13296099

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 79, 176, 175,
169, 175, 175, 178, 165, 160, 173, 65, 187, 178

the program should read In all the umbers and make a table like this:

height          number of pupils

160                    2

164                    1
165                    2
167                    1

Reference no: EM13296099

Questions Cloud

By how much does the magnetic flux through solenoid change : An air-core solenoid has a length of 27.1 cm, a cross-sectional area of 0.0454m2, By how much does the magnetic flux through the solenoid change
Explain the initial ph of the solution : A buffer solution that is 0.10 M sodium acetate and 0.20 M acetic acid is prepared. Calculate the initial pH of this solution. The Ka for CH3COOH is 1.8 x 10-5 M. As usual, report pH to 2 decimal places
How far will that be orbiting around the earth : A particle of mass 4m is placed at a distance of 2.00 m from another particle of mass m. how far will that be orbiting around the earth
Comparison of cross-cultural patterns-cultural patterns : A comparison of cross-cultural patterns-cultural patterns by world regions
Heights of the individual pupils : Make a C++ program that helps the health visitor making the statistics and heights of the individual pupils,
Explain the atmosphere though reaction with oh : It is quickly degraded in the atmosphere though reaction with OH• and O3 to form non volatile species which then form particles. These latter ones are responsible for the haze.
Discuss role of culture in global business and management : Discuss the role of culture in global business and management. Describe the main business norms, cultural trends, and landscapes in the US
What is the speed of sound in this new gas : If the air in the tube is replaced with a different gas, the frequency of the fundamental standing wave changes to 60·Hz. What is the speed of sound in this new gas
What is the probability that the average weight : Turkeys found in a particular county have an average weight of 15.6 pounds with a standard deviation of 4.0 pounds.  45 turkeys are randomly selected for a county fair

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Construct vector and linked lists data structures

You will prepare sorted versions of the Linked Lists and Vector data structures developed in class

  Write a c++ program that prompts the user for a double

Write a C++ program that prompts the user for a double that is either positive or negative.

  Give a recursive definition of s.

Let S be the set of positive integers that can be written as a sum of one or more 4's and/or 7's. For example, 7 ? S and 18 ? S (because 18 = 4 + 7 + 7)

  Dynamically allocates an array large enough

Write a program that dynamically allocates an array large enough to hold a number of test score. The size of the array should be input by the user

  Pointer variables to demonstrate shallow and deep copy

Using C++, write a program that uses pointer variables to demonstrate shallow and deep copy. The program should give the user the choice to do the following:

  Write in c++ another overloaded operator

Write in C++ another overloaded operator to go in the program that has Treasury. Overload the forward slash /  so that in the main program, you can declare sale to be of type Treasury, and commission to be of type Treasury, and commispctage to be of ..

  Writing function that computes leap years

Write down function that computes leap years. Function prototype is as follows: Write function body which returns true if year is a leap year and false if year is not a leap year.

  Write a corresponding if else statement

The mathematical operation max(x,y,w,z) can be represented by using the conditional expression operator, as in:  max = (x > y && x > z && x > w) ? x : ((y > z && y > w) ? y : ((z > w) ? z : w))  Write a corresponding if else statement that is equival..

  Write code that declares an int array named month

Write code that declares an int array named month with 5 rows and 7 coloumns and initializes every element to -1.

  While loop that allows the user to continue entering

This code should include a while loop that allows the user to continue entering employees as long as they want to continue:int main(){Real payrate,hours, gross,again;

  Write a program that stores the number

Write a program that stores the following numbers in the array named miles : 15, 22, 16, 18, 27, 23, 20. Use a pointer to copy the data stored in miles to another array named dist and then display the values in the dist array.

  Store a list of student info

Store a list of student info, (id number, First name and Last name) using a link list. The ID is the key field. The program should implement a linked list using arrays.The program should process the following operations

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd