The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 327 Weeks Ago, 5 Days Ago |
| Questions Answered: | 12843 |
| Tutorials Posted: | 12834 |
MBA, Ph.D in Management
Harvard university
Feb-1997 - Aug-2003
Professor
Strayer University
Jan-2007 - Present
Hi I need this c++ program if you can please have it done by 530 pm I would greatly appreciate it
Â
Â
You opened a coffee shop at the beach and sells coffee in three sizes:
Â
⢠small (9oz)
Â
⢠medium (12oz)
Â
⢠and large (15oz)
Â
Â
Â
The cost of one small cup is $2.75, one medium cup is $2.90, and one large cup is $3.00.
Â
Â
Â
Task
Â
Â
Â
Write a menu-driven program that will make the coffee shop operational. Your program should allow the user to do the following:
Â
⢠Buy coffee in any size and in any number of cups.
Â
⢠At any time show the total number of cups of each size sold.
Â
⢠At any time show the total amount of coffee sold.
Â
⢠At any time show the total money mad
Â
Your program should consist of at least the following functions:
Â
⢠a function to show the user how to use the program,
Â
⢠a function to sell coffee,
Â
⢠a function to show the number of cups of each size sold,
Â
⢠a function to show the total amount of coffee sold, and a function to show the total money made.Â
Â
Your program should not use any global variables and special values such as coffee cup sizes and cost of a coffee cup must be declared as named constants.
-----------