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 :( )
Execute the c++ file with any c++ compiler
For g++ ->
$ g++ debtsolver.cpp $ ./a.out
General input syntax - "Friend1 owes Friend2 amount" amount - integer
The input ends with a "done." statement(without quotes).