Find Jobs
Hire Freelancers

I would like to hire a C++ Programmer

$10-30 USD

In Progress
Posted over 7 years ago

$10-30 USD

Paid on delivery
Write a program that simulates a soft drink machine. The contents of the machine and associated prices are as follows: Drink Name Cost Inventory in Machine Cola .75 20 Root Beer .75 20 Lemon-Lime .75 20 Cream Soda .80 20 Water 1.00 20 Energy Drink 5.00 20 PART 1: Customer Interface When the thirsty customer, Charlie Brown, approaches the drink machine: The beverage choices should be displayed. Charlie should be allowed to quit the program or pick a drink. If the Charlie selects a drink, he will enter the amount of money that is to be inserted into the drink machine. If the amount that Charlie enters is less than the amount needed for the purchase, message Charlie and let him know he needs more cash. Input Validation: The machine cannot handle negative values or values greater than $5. The amount of change that would be returned should be displayed. The inventory for the drink purchased should be reduced. If Charlie selects a drink that is sold out, a message should be displayed. When Charlie indicates he does not want to make any further purchases, the total amount of his purchases should be displayed. PART 2: Manager Interface When the manager, Lucy accesses the machine she will want to know: Total sales Inventory levels of all beverages. Beverages with < 5 in inventory should warn Lucy to refill the machine. Lucy should have the option to adjust beverage inventory based on the amount added to the machine.
Project ID: 12285010

About the project

4 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $39 USD for this job
User Avatar
Greetings! I am a highly skilled C programmer and I will guarantee 100% marks in the the program you want to be completed.
$50 USD in 0 day
5.0 (34 reviews)
5.2
5.2
User Avatar
hello, place your confidence in my C/C++ knowledge and experience. you better hire me while i'm in mood of writing ticket systems and coffee machines ;) greets, srdjan
$50 USD in 3 days
5.0 (24 reviews)
4.4
4.4

About the client

Flag of UNITED STATES
Ephraim, United States
5.0
1
Payment method verified
Member since Dec 5, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.