Show Bid Request
Dynamic Array / Homework Help
Bid Request Id: 10611
|
|
|
Posted by: |
Loli10 (10 ratings)
(Software buyer rating 10)
|
Non-action Ratio: |
Very Good - 8.33%
|
Posted: |
Mar 11, 2002 3:00:58 PM EDT
|
Bidding Closes: |
Mar 18, 2002 3:02:26 PM EDT
|
Viewed (by coders): |
227 times
|
Deadline: |
3/18/2002
TIME EXPIRED
|
|
|
|
Description:
Write a program that can be used to gather statistical data about the number of movies college students see in a month. Input validation: Do not accept any negative numbers for input. The program should perform the following steps:
a) Ask the user how many students were surveyed. An array of integers with this many elements should then be dynamically allocated. b) Allow the user to enter the number of movies of each student into the array. c) Calculate and display the average of the values entered.
Write a function that takes in two parameters, the dynamically allocated array and the number of students. This function should return an integer value that is the total number of movies seen by all the students. Calculate the average number of movies seen by the students and display the result. Run the program with the following data: Number of students 4, movies seen by student #1: 10, movies seen by student #2: 11, movies seen by student #3: 3, and movies seen by student #4: 8. Include program output in a comment block at the bottom of the program.
Deliverables: Complete and fully-functional working program(s) in executable form as well as complete source code of all work done (cpp files).
Complete copyrights to all work purchased.
Platform:
MS Visual C++ 6.0
Must be 100% finished and received by buyer on:
Mar 18, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
This bid was accepted by the buyer!
|
$8 (USD)
|
Mar 11, 2002 5:32:14 PM EDT
|
7.54
(Very Good)
|
|
|
its an 8 dollar bid so i get 5 ( since rentacoder gets 3) .. i already wrote it for you .. as soon as you accept the bid... ill post the code ...
also .. just so you know.. i was a TA in my CS department... so you can know that the code is written well.. and commented beautifully ;-) ..
adam |
|
|
|
|
N/A
|
Mar 11, 2002 6:23:21 PM EDT
|
7.54
(Very Good)
|
|
|
oh and btw .. here is a copy of the output from the program i wrote you
How many students were surveyed ? 4 For each student please enter the number of movies he/she watched. Student #1 : 10 Student #2 : 11 Student #3 : 3 Student #4 : 8 **************************************** ---------------------------------------- **************************************** Total number of students : 4 Total movies watched : 32 Average movies watched per student : 8 |
|
|
|
|
|