Why Choose Us?
0% AI Guarantee
Human-written only.
24/7 Support
Anytime, anywhere.
Plagiarism Free
100% Original.
Expert Tutors
Masters & PhDs.
100% Confidential
Your privacy matters.
On-Time Delivery
Never miss a deadline.
Coffee Shop offers a range of beverages to its customers
Coffee Shop offers a range of beverages to its customers. The coffee shop is upgrading their manual system and needs a simple order and change calculation program for the cashier. The menu items and prices are below:
The new program should firstly display the menu, so that each beverage has an item number (example: 1 - Long Black, 2 - Flat White, 3 - Cappuccino, 4 - Tea). The cashier will enter the size of the beverage ordered (example: 'S' - small, 'M' - medium, 'L' - large). We will assume the customers will only order one type and size of beverage, but any quantity. For example, 5 Small Flat White, or 3 Large Tea, or 6 Medium Long Black, etc. The cashier will enter the number of drinks being ordered. Your program will then calculate the total cost based on the item number, beverage size and number of drinks. For simplicity, we will assume the customer will always pay more than the total cost of the order. The cahier will enter the amount paid by the customer and your program will calculate the amount of change to give. Lastly, your program will calculate and display the number of each denomination to give as the change. Assume the shop only has $10 and $5 notes, and $2, $1, 50c, 20c, 10c and 5c coins for giving out change.
Expert Solution
Need this Answer?
This solution is not in the archive yet. Hire an expert to solve it for you.





