Skip to content

dgreen8443/Trip-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trip Calculator

Introduction

A simple calculator to find the easiest payments to ensure that each person on the trip pays their fair share.

People

In the people.txt file, list all people going on the trip with a new line for each.

Payments

In the payments.JSON file include all of the payments in the format:

"$payment_description" : ["$person_who_paid", $amount_paid]

Calculations

Run calc.py and in the terminal the payments needed to balance the trip will be printed.

About

Simple calculator that splits the costs of a trip

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages