Find Jobs
Hire Freelancers

I would like to hire a C++ Programmer

$10-30 USD

进行中
已发布超过 7 年前

$10-30 USD

货到付款
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.
项目 ID: 12285010

关于此项目

4提案
远程项目
活跃7 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
4威客以平均价$39 USD来参与此工作竞价
用户头像
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 在0天之内
5.0 (34条评论)
5.2
5.2
用户头像
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 在3天之内
5.0 (24条评论)
4.4
4.4

关于客户

UNITED STATES的国旗
Ephraim, United States
5.0
1
付款方式已验证
会员自12月 5, 2016起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。