Show Bid Request
Soda Machine Project
Bid Request Id: 38817
|
|
|
Posted by: |
Destroyer181 (3 ratings)
(Software buyer rating 9.66)
|
Non-action Ratio: |
Very Good - 0.00%
|
Buyer Security Verifications: |
Good
|
Approved on: |
Dec 7, 2002 2:13:34 PM EDT
|
Bidding Closes: |
Dec 8, 2002 4:00:00 PM EDT
|
Viewed (by coders): |
103 times
|
Deadline: |
12/8/2002 4:00:00 PM
TIME EXPIRED
|
|
|
|
Description:
Your task is to design a 'VendingMachine' class which keeps track of 5 types of sodas; the name of each item, the cost of each item and the quantity available for each item. Note, each item need not be a class of its own - you are required to produce a single class - Vending Machine. Users of your "vending machine" will select items to purchase from a printed menu showing item names and costs. Then users will give money into the machine, which accepts $1 bills, quarters, dimes and nickels. You may assume that the machine does not accept pennies. Once enough money has been collected, the vending machine will calculate the appropriate change to dispense. For example, if someone inserts a $1 bill for a 65 cent item, they are due 35 cents. The machine should make change using the biggest coins available, i.e., one quarter and one dime. If the machine is out of quarters, then they would receive three dimes and one nickel.
In order to do this, the vending machine must also keep track of the coins in the machine-the number of nickels, dimes and quarters and it posesses. It should also keep track of the money it has made in one run of the program.
Naturally if someone inserts coins to purchase an item, the number of coins available for change and the quantity of sodas available should change accordingly. So, your program needs to keep track of the changes in your coin-repository and to the soda-repository by making the required changes to these collections after every purchase.
If any of the repositories becomes empty (i.e., the machine runs out of quarters or a particular type of soda, it should output a message 'NEED SERVICE' and indicate what needs to be done. When the machine receives service, it prints a report of how many of each coin and each soda it needs. Then, it is refilled to its initial state. At that time, it also reports how much money was made since the last refill.
Please be sure to only use classes, loops, local/global variables, pointers/references.
Deliverables: 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Complete ownership and distribution copyrights to all work purchased.
Platform:
Windows 2000, specifically Turbo C++.
Must be 100% finished and received by buyer on:
Dec 8, 2002 4:00:00 PM 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.
Special Conditions / Other:
I need this program ASAP. Before 5:00 CT today.
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!
|
$10 (USD)
|
Dec 7, 2002 2:33:16 PM EDT
|
4.4
(Below Average)
|
|
|
|
|
|
|
|
|