Skip to content

Latest commit

 

History

History
executable file
·
21 lines (15 loc) · 771 Bytes

File metadata and controls

executable file
·
21 lines (15 loc) · 771 Bytes

Kata

https://en.wikipedia.org/wiki/Amortization_calculator

Borrowers should be able to request a loan of any 100€ increment between 1000€ and 15000€ inclusive.

Example:

java -jar quote.jar market.csv 1000

Requested amount: 1000
Rate: 7.0%
Monthly repayment: £30.78 Total repayment: 1108.10

Purpose

The purpose of this repo is to understand why the results are close but not exact, sice Stackoverflow question was not very popular, please feel free to Pull Request or create issue.

Consideration

Not tested with CSV files with size bigger than 300MB See CSV example