Show Bid Request
Vending Machine Project
Bid Request Id: 39322
|
|
|
Posted by: |
Destroyer181 (3 ratings)
(Software buyer rating 9.66)
|
Non-action Ratio: |
Very Good - 0.00%
|
Buyer Security Verifications: |
Good
|
Approved on: |
Dec 11, 2002 12:13:43 AM EDT
|
Bidding Closes: |
Dec 12, 2002 12:30:14 AM EDT
|
Viewed (by coders): |
66 times
|
Deadline: |
12/12/2002 12:30:00 AM
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 only use classes, pointers, inheritance, polymorphism. Be sure to use a main function as well.
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:
This program must run on a Windows 2000 operating system, specifically Turbo C++ Programming.
Must be 100% finished and received by buyer on:
Dec 12, 2002 12:30:00 AM 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. Please complete as soon as possible.
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!
|
$12 (USD)
|
Dec 11, 2002 12:58:55 AM EDT
|
8.92
(Superb)
|
|
|
I can start on this right away and have everything done by tomorrow morning (12/11/02). I just have a few specifications questions:
How does the vending machine get initialized (names of the sodas, prices, numbers of cans and coins)? Will the program request this information interactively? Or will it read it from an input file? If so,is there a specified format for this file.
Also, please specify whether you want it compiled on Windows or Unix -- I can do either one.
QuickGeek -- Homework help and more --
|
|
|
|
|
|