Skip to content
← Back to Community
Coffee Shop Application
Profile icon
tr29038

/*Algorithm
WHILE NOT quit sentinel:
Prompt user with main menu and options
IF buyCoffee is selected:
WHILE NOT quit sentinel:
Prompt user size of coffee
Prompt user number of cups of specified size of coffee
Output receipt
IF cupsSold is selected:
Output number of cups of coffee sold per cup size and general total
IF ouncesSold is selected:
Output number of ounces of coffee sold
IF totalRevenue is selected:
Output total revenue
*/

Voters
Profile icon
tr29038