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.
- Simple Menu Display: The program presents a straightforward menu with 10 options.
- View Menu Items: Display a list of coffee and snack items along with their prices.
- Add Orders: Users can add orders repeatedly or return to the main menu.
- View Orders: Display added orders including menu items, quantities, prices, and the total cost.
- Edit Orders: Modify order details such as menu item name, price, and quantity.
- Delete Orders: Remove orders by menu item name.
- Search Orders: Search for orders by menu item name.
- Sort Orders: Sort orders by total price in ascending order using the insertion sort method.
- Print Receipt: Print a payment receipt by entering the table number and amount paid.
- Display Order Statistics: Show order statistics including total sales, overall order quantity, cheapest order, most expensive order, most ordered item, and least ordered item.
- Exit Program: Exit the cashier system.
- C++ compiler (e.g., g++, clang++)
- Basic knowledge of C++ and command line operations
- Clone the repository:
git clone https://github.com/whdhdyt21/CoffeeShop-Cashier.git
- Navigate to the project directory:
cd CoffeeShop-Cashier
Compile the program using a C++ compiler:
g++ main.cpp -o coffeeshop-cashier
Run the compiled program:
./coffeeshop-cashier
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.
Contributions are welcome! Please fork this repository and submit a pull request for any enhancements or bug fixes.
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a new Pull Request.
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.