Skip to content

CoffeeShop Cashier is a simple yet comprehensive cashier system designed for coffee shops. This C++ program offers a range of features to manage orders, display menu items, and handle transactions efficiently.

Notifications You must be signed in to change notification settings

whdhdyt21/CoffeeShop-Cashier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoffeeShop Cashier (using C++)

Overview

CoffeeShop Cashier is a simple yet comprehensive cashier system designed for coffee shops. This C++ program offers a range of features to manage orders, display menu items, and handle transactions efficiently.

Features

  1. Simple Menu Display: The program presents a straightforward menu with 10 options.
  2. View Menu Items: Display a list of coffee and snack items along with their prices.
  3. Add Orders: Users can add orders repeatedly or return to the main menu.
  4. View Orders: Display added orders including menu items, quantities, prices, and the total cost.
  5. Edit Orders: Modify order details such as menu item name, price, and quantity.
  6. Delete Orders: Remove orders by menu item name.
  7. Search Orders: Search for orders by menu item name.
  8. Sort Orders: Sort orders by total price in ascending order using the insertion sort method.
  9. Print Receipt: Print a payment receipt by entering the table number and amount paid.
  10. Display Order Statistics: Show order statistics including total sales, overall order quantity, cheapest order, most expensive order, most ordered item, and least ordered item.
  11. Exit Program: Exit the cashier system.

Getting Started

Prerequisites

  • C++ compiler (e.g., g++, clang++)
  • Basic knowledge of C++ and command line operations

Installation

  1. Clone the repository:
    git clone https://github.com/whdhdyt21/CoffeeShop-Cashier.git
  2. Navigate to the project directory:
    cd CoffeeShop-Cashier

Compilation

Compile the program using a C++ compiler:

g++ main.cpp -o coffeeshop-cashier

Running the Program

Run the compiled program:

./coffeeshop-cashier

Usage

Follow the on-screen instructions to navigate through the menu and use the features. The program is designed to be user-friendly with clear prompts for each action.

Contributing

Contributions are welcome! Please fork this repository and submit a pull request for any enhancements or bug fixes.

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature).
  3. Commit your changes (git commit -am 'Add new feature').
  4. Push to the branch (git push origin feature/your-feature).
  5. Create a new Pull Request.

Acknowledgements

Thanks to everyone who has contributed to this project and helped improve it.


Feel free to customize this README according to your specific requirements and repository structure.

About

CoffeeShop Cashier is a simple yet comprehensive cashier system designed for coffee shops. This C++ program offers a range of features to manage orders, display menu items, and handle transactions efficiently.

Topics

Resources

Stars

Watchers

Forks

Languages