A C++ Console-Based Retail Shopping Simulation
The BBShop Clothing System is a fully interactive console-based shopping program written in C++. It simulates a retail clothing store where users can browse brands, select items, choose sizes, review their cart, apply discounts, and process payments.
This project demonstrates core C++ concepts including functions, control structures, input validation, and modular programming.
Choose from three popular fashion brands:
- Penshoppe
- Oxygen
- Bench
Each brand includes a unique set of items such as:
- Polo shirts, t-shirts, jackets
- Perfumes, caps, wallets
- Pants, hoodie jackets
Pricing automatically adjusts based on:
- Brand
- Item
- Size selection
After selecting an item, the system displays a detailed summary including:
- Brand & category
- Item name
- Size & quantity
- Total item price
Eligible customers may apply ONE discount per shopping session:
- Student – 5%
- PWD – 10%
- Senior Citizen – 20%
- (Discounts require basic ID verification)
The program ensures payment sufficiency and calculates change.
Displays:
- Total items
- Total before discount
- Discount amount
- Final total
- Payment received
- Change returned
This project demonstrates key C++ programming fundamentals:
- Modular functions
- Switch/case decision-making
- Input validation loops
- Use of strings and formatted output
- Arithmetic operations
- State tracking with flags
- Wrapper functions and static-state logic
git clone https://github.com/yashiro-nyx/BBShop-Clothing-System.gitcd BBShop-Clothing-Systemg++ BBShop-Clothing-System.cpp -o BBShop./BBShopBBShop-Clothing-System/
│── BBShop-Clothing-System.cpp # Source code
│── README.md # Project documentation
│── LICENSE # MIT License
└── .gitignore # Ignored files
Choose a brand:
1. Penshoppe
2. Oxygen
3. Bench
Enter your choice:
--- Cart Summary ---
Brand: Penshoppe
Category: Clothing
Item: Polo
Size: Medium
Quantity: 2
Total Price: 598
--------------------
This project is licensed under the MIT License. You are free to use, modify, and distribute this software with proper attribution.
This project is licensed under the MIT License - see the LICENSE file for details.
- GitHub: yashiro-nyx
Special thanks to the open-source community and all contributors who provided feedback and support during the development of this project.