Question: Extra Credit - Coffee Shop ( 2 5 points ) Points earned in this part can be added to exams or assignments. Jason opened a

Extra Credit - Coffee Shop (25 points)
Points earned in this part can be added to exams or assignments.
Jason opened a coffee shop at the beach and sells coffee in three sizes: small (9 oz ), medium (120z), and large (15 oz ). The cost of one small cup is $1.75, one medium cup is $1.90, and one large cup is $2.00.
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 made.
Your program should consist of at least the following functions:
a. a function to print the menu
b. a function to order the coffee (option 1)
c. a function to check the total money made up (option 2),
d. a function to check the total amount of coffee sold up (option 3)
e. a function to check the number of cups of coffee of each size sold (option 4)
f. a function that print the data (option 5).
Your program should not use global variables. Special values such as coffee cup sizes and cost of a coffee cup must be declared as named constants.
Extra Credit - Coffee Shop ( 2 5 points ) Points

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!