How Software Gets Done  


Software Buyers
Request bids
Search coders
My Buyer Account
Buyer help
Buyer articles
Buyer FAQ
Latest news
Software Coders
Newest open work
Browse all work
Search all work
My Coder Account
Coder help
Coder articles
Coder FAQ
Latest news
My Affiliate Account
Affiliate help
Affiliate FAQ
Latest news
Newest Bid Requests.
(See all)
Website Creation
By tketoast on Sep 8
Max Bid: $400

By Lednor on Sep 8
Max Bid: Open to fair suggestions

VB 6 code snippets
By MPJR on Sep 8
Max Bid: $25

Pocket PC Voice Recorder DLL
By Simon J Smith on Sep 8
Max Bid: Open to fair suggestions

Oscommerce Fix - Category/Subcat egory Titles
By sistervisiontec h on Sep 8
Max Bid: $50

SQL Query & Stored Procedure - Oracle
By jpmarno on Sep 8
Max Bid: $200

Click here to put this ticker on your own site and/or get live RSS newsfeeds

Open Work Categories.
(186 open)
(60 open)
(114 open)
(14 open)
   SQL Server 
(80 open)
   Other DB 
(23 open)
Documentation / Tech Writing 
(30 open)
   Language (Human) Translations 
(10 open)
Data Entry 
(32 open)
Game Development 
(20 open)
Graphics / Art / Music 
(64 open)
(69 open)
     Adobe AfterEffects 
(12 open)
     Adobe Photoshop 
(32 open)
     Adobe Premiere 
(11 open)
     3d Animation 
(23 open)
   Art (Misc.) 
(17 open)
(10 open)
(10 open)
   3d Modeling 
(14 open)
Language Specific 
(126 open)
   Assembly / Machine language 
(11 open)
(65 open)
   ASP .NET 
(70 open)
(78 open)
   C++ / C 
(152 open)
   Carbon (Mac OS) 
(7 open)
   Cocoa / Obj-C 
(4 open)
   Cold Fusion 
(12 open)
(57 open)
(83 open)
(13 open)
(48 open)
(5 open)
(116 open)
(41 open)
   Visual Basic 
(178 open)
   Visual Basic .Net 
(121 open)
(79 open)
(38 open)
(1 open)
(5 open)
(36 open)
   Video Editing 
(15 open)
(35 open)
   Network Design 
(6 open)
   Network Implementation 
(4 open)
(79 open)
(207 open)
     MS Exchange 
(7 open)
     MS Office 
(19 open)
(9 open)
(3 open)
   Embedded Systems 
(2 open)
   Hand Held/PDA Programming 
(13 open)
   Internet Browser 
(58 open)
(53 open)
   Lotus Notes / Domino 
(2 open)
(26 open)
(15 open)
(31 open)
Testing / Quality Assurance 
(22 open)
(202 open)
   Page Design 
(94 open)
(51 open)
(2 open)
   Web Services 
(91 open)
   Web (Other) 
(98 open)
(11 open)
   Computer Based 
(11 open)
Other Sites

Download the free Rent A Coder IE toolbar!
Show Bid Request

Vending Machine Project
Bid Request Id: 39322
Bookmark in my 'To Do' list
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
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: C++ / C
Enter chat room for this bid request
(0 active users at Sep 8, 2003 8:37:14 PM EDT)

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.

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.

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.
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!
(14 ratings)
in Sacramento, California
United States
Bid id: 425,669
$12 (USD) Dec 11, 2002
12:58:55 AM EDT
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.

-- Homework help and more --

Bid Request Search
 Advanced Search
Newest Open Work
Latest News  


Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
Top Coders.

Rated a 9.97 on 120 jobs 
Rated a 9.84 on 91 jobs 
Rated a 9.97 on 157 jobs 
Andrei Remenchuk
Rated a 10 on 14 jobs 
Rated a 9.93 on 38 jobs 
Rated a 10 on 121 jobs 
Rated a 10 on 22 jobs 
Maxnet Technologi es Private Limited
Rated a 9.93 on 84 jobs 
Rated a 10 on 56 jobs 
Rated a 9.76 on 100 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers

Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:


Affiliate Sites
Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.