Computer SC Project
Computer SC Project
For the partial fulfilment of the conditions laid down for Annual
Computer Science Practical Examination of Std-XI for the session
2024-25.
restaurant = {}
while True:
print("6. Exit")
if choice == "1":
if dish_id in restaurant:
else:
if dish_id in restaurant:
restaurant[dish_id]["stock"] = new_stock
else:
if dish_id in restaurant:
restaurant[dish_id]["price"] = new_price
else:
if dish_id in restaurant:
dish = restaurant[dish_id]
print(f"Name: {dish['name']}")
print(f"Price: ₹{dish['price']:.2f}")
else:
if not restaurant:
else:
break
else:
6. Exit
6. Exit
6. Exit
6. Exit
6. Exit