shailesh / OweDebts

A C++ tool which aims at solving too many debt linkages between friends and provide minimum number of transactions to be made.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OweDebts

Many of friends owe you. And you too owe many friends. Money is divided in your friend circle. This tool helps you to automate the debt solving process along with no cash loss :D (and no gain too :( )

Use

Execute the c++ file with any c++ compiler

For g++ ->

$ g++ debtsolver.cpp $ ./a.out

Input

General input syntax - "Friend1 owes Friend2 amount" amount - integer

The input ends with a "done." statement(without quotes).

About

A C++ tool which aims at solving too many debt linkages between friends and provide minimum number of transactions to be made.


Languages

Language:C++ 100.0%