IN PYTHON
Menu:
1. Hotdog. ($2) 2. Salad ($3) 3. Pizza ($2) 4.Burger ($4) 5.Pasta ($7)
Write a menu-driven program for Food Court. (You need to use functions!)
(You can pass quantity1, quantity2, quantity3, quantity4 & quantity5 to save the quantities of the orders)
You need to have a main function and get started from the main function.
The name of functions also up to your design but the names should show what the functions do.
I have implemented the menu-driven application as per the given description in Python. Please find the following Code Screenshot, output, and Code.
ANY CLARIFICATION REQUIRED LEAVE A COMMENT
1.CODE SCREENSHOT:
2.OUTPUT:
3.CODE :
def readNumber(s): def calTax(total): main() |
Get Answers For Free
Most questions answered within 1 hours.