Get the answers you need at Westonci.ca, where our expert community is dedicated to providing you with accurate information. Join our platform to connect with experts ready to provide detailed answers to your questions in various areas. Connect with a community of professionals ready to help you find accurate solutions to your questions quickly and efficiently.

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 $500 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 16.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 X 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