Question: Write an interactive program for Pepi Ronis Pizza Parlor that fills take-out orders as follows: Obtain the number of bottles of soda, regular pies and
Write an interactive program for Pepi Ronis Pizza Parlor that fills take-out orders as follows:
Obtain the number of bottles of soda, regular pies and large pies ordered by the customer. Prices are $1.55, $7.50 and $10.00, respectively for soda, regular and large pizzas (define constants).
Output a menu to the customer showing the items and prices.
In order to boost sales Pepi is giving out a free order of garlic knots with any order subtotaling $15.00 or more otherwise the customer receives a promotional flyer with a discount coupon.
There is $1.00 charge added for deliveries of orders that subtotal less than $15.00.
Sales tax of 8.625% is added to each customers total bill.
Your program should output the total bill with a breakdown of pizzas and sodas ordered, subtotal, delivery charge if and the total with tax included. A message should also be printed to indicate whether the customer should receive the free order of garlic knots or coupon.
(be sure to use if-else statements)
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
