Question: Write a program to take ice cream orders for the Quad Ice Cream shop. Pricing for the Ice cream orders is per scoop of ice
Write a program to take ice cream orders for the Quad Ice Cream shop. Pricing for the Ice cream orders is per scoop of ice cream. If a customer orders one or two scoops of ice cream the regular price per scoop is applied (see below), if a customer orders 3 or more scoops of ice cream there is a discounted price per scoop applied (see below). The program should only accept orders for one or more scoops of ice cream. Note: A minimum of one scoop must be ordered. Regular price: $1.50 per scoop for one or two scoops. Discount: $1.25 per scoop for three or more scoops. Write a program that will correctly calculate a persons order. Your program should look the same as the screenshots below. Use the following sample inputs from the screenshots below to test your program. You will need to run the program multiple times for testing. Change the number of scoops entered each time the program is run. If only one scoop is ordered print scoop, not scoops. Use f-strings to format the prices for display. Be sure to document (comment) the variables, constants and the program source code.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
