By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,413 Members | 1,023 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,413 IT Pros & Developers. It's quick & easy.

please i need some body to help me on this issue

P: 1
i need you to help about c++ program in array that is
the health visitor at a school is going to measure the height of all pupils. for
each class she makes a statistics giving the number of pupils of each height
and the average height
example:- lets say that we have x[20] then
input
175,167,160,164,183,187,188,179,176,175,
169,175,176,178,165,160,173,165,187,178
the program shoule 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
Feb 22 '07 #1
Share this Question
Share on Google+
3 Replies


DeMan
100+
P: 1,806
Lot's of ways to go about this problem. What have you done so far, and where is it that you're stuck?
Feb 22 '07 #2

Banfa
Expert Mod 5K+
P: 8,916
The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

Please read the Posting Guidelines and particularly the Coursework Posting Guidlines.

Then when you are ready post a new question in this thread.

Administrator
Feb 22 '07 #3

P: 3
I am sure that showing us where you are having a problem is better than for us to try and write a new program for you.

However there are many ways of treating that question. Pliz try what you are comfortable with and we will try and help you solve it.
Feb 22 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.