hey guys,

I'm having a problem figuring out how to make a good code for the following problem:

you have €100000 debt, the bank is asking 9% interest, and you want to pay the bank 15000 every year to make the debt 0.

now I need 2 different colums, 1 with the remaining debt after every year and 1 with the amount of interest you have to pay every year. how on earth do you make a working code for this problem.

I would really appreciate if someone could point me in the right direction.