This project is a simple bill management system implemented in Go (Golang). It allows users to create and manage two types of bills: normal bills and share bills.
- Normal Bill Management: Add items with prices, include a tip, and save the bill details to a text file.
- Share Bill Management: Input total amount, tip, and the number of people sharing the bill. The system calculates and displays the breakdown of the bill per person.
- Installation:
- Make sure you have Go installed on your system.
- Clone the Repository:
git clone https://github.com/TuvalSimha/save-and-calculate-bills.git
- Navigate to the Project Directory:
cd save-and-calculate-bills
- Run the Program:
go run main.go share-bill.go bill.go
- Follow the Prompts:
- Choose between creating a normal bill or a share bill.
- Input the required details accordingly.
- Manage Your Bills:
- For a normal bill, add items, include a tip, and save the bill details to a text file.
- For a share bill, provide the total amount, tip, and number of people sharing the bill. The program will calculate and display the bill breakdown per person.
- Navigate Through Options:
- Follow the on-screen instructions to manage your bills effectively.
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.