Jason has opened a coffee shop at the beach and sells coffee in three

Jason has opened a coffee shop at the beach and sells coffee in three sizes: small (9oz) medium (12oz) and large (15oz). Small cost is $1.75 medium costs $1.90 and large costs $2.00. Write a menu driven program that will make the coffee shop operational. The program should allow the user to do the following:
1. buy coffee in any size and any number of cups.
2. at any time show the total number of cups of coffee of each size sold.
3. At any time show the total amount of coffee sold.
4. at any time show the total amount of money made.
The program should at the least:
1. a function to show the user how to use the program.
2. a function to sell coffee.
3. a function to show the number of cups of each size sold.
4. a function to show the total amount of coffee sold.
5. a function to show the total amount of money made.
No global variables. Special values such as coffee cup sizes and cost of a coffee cup must be declared as named constants.

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *

Is this question part of your Assignment?

Get expert help

Girl in a jacket


We are a team of academic consultants with extensive experience in writing academic papers for college students in the US, Canada, UK, AU, and other parts of the world.

We help students with both technical and non-technical assignments across all majors & academic disciplines.

Unlike what our name suggests, we research and draft everything word for word. We do not use AI or any rewriting tool! We provide Turnitin reports for AI & Turnitin alongside every paper.

Need help? Send us your assignment now!

description here description here description here