Question: You are the system developer for Moonbucks Sdn Bhd, which is famous for its coffee drinks in Malaysia. You are to write a Python program

 You are the system developer for Moonbucks Sdn Bhd, which is

You are the system developer for Moonbucks Sdn Bhd, which is famous for its coffee drinks in Malaysia. You are to write a Python program that will asks the store manager to enter type of drink, and quantity sold to their customers by using the product ID-CM01, LC01 or CC01. Based on the entered type of drink, your program should filter for the invalid input. By entering a valid type of drink, user should be able to enter the quantity of drinks sold according to specified months given by the user. The program should find and display the biggest amount of sales made, smallest amount of sales made, and average amount of sales made based on quantity entered by the user. For sales calculation, the pricing is set as: CM01-RM6.50, LC01-RM7.05, CCO1-RM8.35 The program should allow the user to perform the process repetitively until they wish to quit, by key in letter Q. Sample of output is as below. Do add the currency used for every price display. CA Program File Microsoft Visual StudioShaved Pythonython.se Moonbucks Sdn Bhd Sales System ----Select Drink---- [CM01] Caramel Macchiato [LC01] Latte Coffee [CC01]Cappuccino Coffee [Q]uit Enter choice [CM01/LC01/0ce1/0]: kl Invalid Choice. Enter choice [CM01/LC01/0001/Q]: cm@1 Enter number of month to record the sales: 3 Enter number of cup sold for month 1: 100 Enter number of cup sold for month 2: 600 Enter number of cup sold for month 3: 200 The biggest sales is RM 3900.00 The smallest sales is RM 650.00 Average sales from Caramel Macchiato, in 3 months is RM: 1954.ee Enter choice(CM01/LC01/0001/Q]: 4 Thank you Press any key to continue

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 Databases Questions!