A local pizza parlor provides pizzas in the following sizes: Small, Medium, or Large. Customers also have a choice of a maximum of five toppings that can be added. If the user enters a value greater than 5, an appropriate message should be shown alerting the user and allowing them to re-enter the value. A delivery fee of $300 is charged as a flat rate, this is only applied if the pizza size is not large. The user is required to pay a tax of 17.5%. The program must print the sub-total, taxes, the amount of money the customer is required to pay based on the order given, and change to be tendered, and the name of the Cashier . Your program is to execute as many times until the user presses Y to exit. Use Appropriate FUNCTIONS are part of your solution.
Now the cost per pizza is calculated as follows:
pizza_cost = base_price + ( number_of_toppings * cost_per_topping ) + delivery cost + taxes