https://github.com/shrinivask007/suppermarketbilling_system
C++ | OOPs
https://github.com/shrinivask007/suppermarketbilling_system
cpp oops
Last synced: over 1 year ago
JSON representation
C++ | OOPs
- Host: GitHub
- URL: https://github.com/shrinivask007/suppermarketbilling_system
- Owner: shrinivask007
- License: mit
- Created: 2024-05-13T09:46:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-13T09:51:48.000Z (about 2 years ago)
- Last Synced: 2025-01-21T18:29:10.464Z (over 1 year ago)
- Topics: cpp, oops
- Language: C++
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Supermarket Billing System
This C++ program demonstrates a simple supermarket billing system using Object-Oriented Programming (OOP) principles. It allows users to input the quantity of various products and calculates the total bill amount.
## Features
- Add products to the shopping cart with user-defined quantities.
- Display the list of products in the shopping cart along with their prices, quantities, and total prices.
- Calculate the total bill amount.
- Display the bill amount in Rupees (Rs).
## Usage
1. Clone the repository to your local machine:
```bash
git clone https://github.com/shrinivask007/SupperMarketBilling_System
```
2. Navigate to the project directory:
```bash
cd SupperMarketBilling_System
```
3. Compile the source code using a C++ compiler (e.g., g++):
```bash
g++ main.cpp -o SupperMarketBilling_System
```
4. Run the executable:
```bash
./SupperMarketBilling_System
```
5. Follow the prompts to enter the quantity for each product.
6. Once all quantities are entered, the program will display the list of products in the shopping cart and the total bill amount in Rupees.
## Sample Output
Enter quantity for Bread: 2
Enter quantity for Milk: 1
Enter quantity for Eggs: 12
Items in the Shopping Cart:
Product Price Quantity Total
Bread Rs2.5 2 Rs5
Milk Rs3 1 Rs3
Eggs Rs1 12 Rs12
Total Bill Amount: Rs20
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.