Updated the settle bills calculation algorithm. The billObject's settleBill() function is implemented to calculate how much each participant owes in the specific bill. The overall settleBills() function that settles all bills has also been updated to use that function instead.
Updated the settle bills calculation algorithm. The billObject's settleBill() function is implemented to calculate how much each participant owes in the specific bill. The overall settleBills() function that settles all bills has also been updated to use that function instead.