Reference no: EM133236633
Assignment:
Develop a program (save it as pizza.py). A Beezee Pizza Shop sells two pizzas for Eat-In or TakeAway. Pizzas cost $10 each. Your program will record and calculate the cost of customer orders. There is a 10% service charge for Eat-In orders and a 10% discount for Take-Away orders. Your program needs to display the subtotal, the charge or discount and calculate the total cost of each order. If the user chooses to quit, display the number of Eat-In and Take-Away orders made and the total purchases.
The following shows a sample run of a correctly implemented program:
Welcome to Beezee Pizza Shop!
Enter the type of order (E for Eat In, T for Take Away, or Q to quit): E
Enter number of pizzas required: 2
Subtotal: $20.0
Eat-in Service Charge: $2.0
Total for this order: $22.0
Enter the type of order (E for Eat In, T for Take Away, or Q to quit): T
Enter number of pizzas required: 3
Subtotal: $30.0
Take-Away Discount: $3.0
Total for this order: $27.0
Enter the type of order (E for Eat In, T for Take Away, or Q to quit): E
Enter number of pizzas required: 1
Subtotal: $10.0
Eat-in Service Charge: $1.0
Total for this order: $11.0
Enter the type of order (E for Eat In, T for Take Away, or Q to quit): Q
Number of Eat-in Orders: 2
Number of Take-Away Orders: 1
Total sales for today: $60.0