Compares different ways to pay off debt. Calculates time and interest spent on each one.
Spoiler: the snowball method (paying off smallest loans first) works the best in most cases, but of course it depends on your specific loans, which is why this tool exists.
Add these files to a C# project using Visual Basic or Mono
Be sure to name your project DebtPayOff or you'll have to rename the namespace on the 3 files to match your project name.
after you build run the program with ctrl F5
Running with Mono (assuming you have mono installed)
$ git clone [email protected]:cotterjd/DebtPayingAlgorithms.git
$ cd DebtPayingAlgorithms
$ sudo apt install -y mono-runtime
$ mono Main.exe
$ csc Main.cs Loan.cs PayPlan.cs