Question
make a program to take ice cream orders for the Quad Ice Cream shop. Pricing for the Ice cream orders are per scoop of ice
make a program to take ice cream orders for the Quad Ice Cream shop. Pricing for the Ice cream orders are 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. the code must ask y/n questions to the customer to determine if they want a waffle cone. if the customer answer 'y' or 'Y', then the code adds $1.10 for the cost of the waffle cone.
Note: A minimum of one scoop must be ordered. . the cost are:
- 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 person's 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
3.50 Rating (153 Votes )
There are 3 Steps involved in it
Step: 1
Constants REGULARPRICEPERSCOOP 150 DISCOUNTPRICEPERSCOOP 125 WAFFLECONECOST 110 Inpu...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started