This is a simple Python-based ordering system for a burger restaurant. The program allows customers to choose from various burger options, specify the quantity, and calculate the total amount for their order. The system also allows the customer to pay and calculates the change if the amount paid exceeds the total.
- Display a menu of burgers with prices.
- Let the user choose an item and specify the quantity.
- Calculate the total price of the order based on the selected items and quantities.
- Allow the customer to pay and provide the correct change.
- Handle invalid choices or insufficient payment gracefully.
The user is presented with the following options:
- Veg Burger - Rs. 50
- Veg Cheese Burger - Rs. 65
- Veg Tandoori Burger - Rs. 70
- Veg Paneer Burger - Rs. 80
- Request Bill - View the total amount and proceed to payment.
- Exit - Exit the program.
- The customer selects the burger and specifies the quantity.
- The total cost is updated based on the selected items and quantities.
- The customer can choose to view the bill and make the payment.
- The system will display the total amount, prompt the customer to enter the money received, and calculate the change.
- If the customer does not have enough money, the program will ask them to pay the full amount.
- Python 3.x (The program has been tested with Python 3.7 and above)
- Clone the repository to your local machine.
- Open a terminal or command prompt.
- Navigate to the directory where the Python file is saved.
- Run the following command:
python burger_ordering_system.py
WELCOME TO KOMAL'S BURGER RESTAURANT HERE IS THE RESTAURANT MENU
- VEG BURGER-----Rs.50
- VEG CHEESE BURGER-----Rs.65
- VEG TANDOORI BURGER-----Rs.70
- VEG PANEER BURGER-----Rs.80
- Bill Please
- Exit What would you like to Choose (Option 1,2,3,4,5,6): 1 Enter the quantity: 2 What would you like to Choose (Option 1,2,3,4,5,6): 3 Enter the quantity: 1 What would you like to Choose (Option 1,2,3,4,5,6): 5 TOTAL AMOUNT TO BE PAID: 170 Input Money Received: 200 Change: Rs. 30 THANK YOU, #ENJOY_THE_MEAL!!!
