If you have a group that takes turns to pay and split the bill later, this is the program for you!
You can add a transactions to the program everytime someone pays and balancing the payments is as easy as typing calculate
.
Also, don't worry about entering every transaction in one session because it is automatically saved for you!
- Add as many transactions as you want! They will be aggregated per person automatically.
- Every
add
anddelete
automatically saves your transaction list. - Saved transaction list is loaded automatically on start up.
- You can
list
all transactions to view the current transaction list. - delete all!` is useful to reset the program for next time.
- Make sure you have Java 11 or above installed in your computer
- Download the latest
- Move the
.jar
file to your desired directory cd
your terminal into the directory containing your.jar
file- Run the application by typing
java -jar filename.jar
into th teterminal
For the command formats below, lower cases are the keywords and CAPS are the user inputs.
The add commands adds a transaction that NAME has made during the trip.
Format: add NAME AMOUNT
TIP:
If the input is wrong, you can either use the delete
command and add NAME AMOUNT
again, or add NAME -AMOUNT
to correct it. You can also check the list of transactions using the list
command.
Prints list of transactions. Each person's contribution will be aggregated.
Format: list
Deletes entries in the transaction table with NAME.
Deletes all enties if argument is all!
Format: delete NAME
or delete all!
Prints out the final list of (the minimum number of) transactions that are required to resolve the balancing of funds.
Format: calcuate
NOTE:
(1) If somebody did not contribute anything throughout the trip, do add NAME 0
to include him/her into the calculation.
Similarly, if somebody should not be included in the final transaction, they should not have an entry in the transactions list. Do delete NAME
to remove them.
(2) Amounts will be rounded up to nearest $0.01.
Exits the program
Format: exit