Restaurant Management System
Restaurant Management System
Introduction:
A Restaurant Management System is a software application designed to help restaurants manage
their operations effectively.
It simplifies tasks such as order processing, bill generation, and inventory management, ensuring a
smooth workflow and
customer satisfaction.
Objectives:
1. To automate the billing system of a restaurant.
2. To keep track of customer orders and generate bills efficiently.
3. To improve the overall customer experience by reducing waiting time.
4. To provide a user-friendly interface for restaurant staff.
Features:
1. Menu display with prices.
2. Order selection.
3. Bill generation.
4. Exit option.
Python Code:
Page 1
Restaurant Management System
```python
# Restaurant Management System
def display_menu():
"""Function to display the menu."""
menu = {
1: {'name': 'Burger', 'price': 120},
2: {'name': 'Pizza', 'price': 250},
3: {'name': 'Pasta', 'price': 200},
4: {'name': 'Coke', 'price': 50},
5: {'name': 'Fries', 'price': 100}
print("\n--- MENU ---")
for item, details in menu.items():
print(f"{item}. {details['name']} - Rs.{details['price']}")
return menu
def take_order(menu):
"""Function to take customer orders."""
order = {}
while True:
try:
item_no = int(input("Enter the item number (0 to finish): "))
if item_no == 0:
Page 2
Restaurant Management System
break
if item_no in menu:
quantity = int(input(f"Enter quantity for {menu[item_no]['name']}: "))
if item_no in order:
order[item_no]['quantity'] += quantity
else:
order[item_no] = {'name': menu[item_no]['name'], 'price': menu[item_no]['price'],
'quantity': quantity}
else:
print("Invalid item number. Please try again.")
except ValueError:
print("Invalid input. Please enter a valid number.")
return order
```
You can extend this project further by adding features like inventory management or database
integration.
Page 3