Skip to content

Bhavnanahar/Cafe_Management_Systemm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ• Food Ordering System

Welcome to the Food Ordering System! This Python-based application allows users to place an order by selecting menu items and calculating the total bill. It offers a simple interface for customers to choose from a menu and decide whether to add more items to their order.

πŸš€ Features

  • πŸ• Menu Items: The menu offers Pizza, Sandwich, Garlic Bread, and Cold Drink with their respective prices.
  • πŸ’³ Bill Calculation: Automatically calculates the total bill based on the user's selections.
  • πŸ“ Order Summary: Displays the final bill with a summary of the items ordered.
  • πŸ”„ Add More Items: Users can keep adding items to their order until they decide to stop.

πŸ§‘β€πŸ’» Installation

Prerequisites

  • Python 3.x installed on your system.

Steps to run:

  1. Clone this repository to your local machine:

    git clone https://github.com/yourusername/food-ordering-system.git

Navigate into the project directory:

bash Copy code cd food-ordering-system Run the main.py script to start the food ordering system:

bash Copy code python main.py Follow the on-screen instructions:

Enter your name. Choose menu items (1-4) and confirm if you want to add more items. After you are done, the program will show the total bill and the order summary.

🧩 Code Structure

display_menu(): Displays the available menu items and their prices. take_order(): Prompts the user for their name, takes their order, and calculates the total bill. Main Loop: The main loop allows users to keep adding items until they are done, and then it displays the total bill and order summary.

πŸš€ How it works:

Welcome the Customer: The user is asked to enter their name. Menu Display: The system displays a menu with 4 food items and their prices. Item Selection: The customer selects the items by entering the corresponding number (1-4). Adding Items: The user can continue adding items until they decide to stop by typing "no" when asked if they want more items. Order Summary: Once the customer is finished, the program displays the total bill and the items they ordered.

πŸ“œ License This project is licensed under the MIT License

Feedback If you have any feedback or suggestions, please feel free to open an issue or contact us. mail:bhavnanahar245@gmail.comπŸ“£

Made with ❀️ by Bhavna

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages