Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.45 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.45 KB

Bill Management System

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.

Features

  • 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.

Usage

  1. Installation:
  • Make sure you have Go installed on your system.
  1. Clone the Repository:
git clone https://github.com/TuvalSimha/save-and-calculate-bills.git
  1. Navigate to the Project Directory:
cd save-and-calculate-bills
  1. Run the Program:
go run main.go share-bill.go bill.go
  1. Follow the Prompts:
  • Choose between creating a normal bill or a share bill.
  • Input the required details accordingly.
  1. 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.
  1. Navigate Through Options:
  • Follow the on-screen instructions to manage your bills effectively.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.