/SimpleCafeManagementSystem-in-c

An interactive C-based cafe management system for easy menu management, customer orders, and sales tracking – making cafe management a breeze.

Primary LanguageCMIT LicenseMIT

Simple Cafe Management System

Overview

The Simple Cafe Management System is a C program that provides functionality for managing a cafe's menu and customer orders. The program is designed to be run in the command line and offers separate menus for administrators and customers.

  • Admin Menu: Administrators can perform actions like viewing the menu, adding items to the menu, deleting items from the menu, and calculating the total sales.

  • Customer Menu: Customers can order items from the menu, view their orders, delete items from their orders, and calculate their total bill.

The code is structured using a linked list to manage the menu items and customer orders efficiently. It serves as a simple example of a text-based cafe management system.

Features

  • Separate menus for administrators and customers.
  • Add, delete, and view menu items.
  • Create and manage customer orders.
  • Calculate the total sales and customer's bill.

Usage

  1. Compile the code using a C compiler (e.g., gcc):

    gcc cafe_management.c -o cafe_management
  2. Run the compiled executable:

    ./cafe_management
  3. Follow the on-screen instructions to navigate the admin or customer menu. Admin username is admin and the password set is admin@cafe

License

This project is open-source and available under the MIT License.

Contribution

Feel free to contribute to the project by submitting issues, feature requests, or pull requests.