Skip to content

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.

Notifications You must be signed in to change notification settings

TuvalSimha/save-and-calculate-bills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages