I have a mistake in the operator for. I want to make a cicle which shows the remained amount of money for the loan repayment in the previous months including the one that is typed. For example, if k_0=5; v=1, n=2, p=100 the result should be k=17 and k=9, I want to calculate how much it will remain in the same formula but with another value of n(month), if n=4
I want all the calculations for n=4,n=3, n=2,n=1. This line k=k*i is wrong, and maybe the structure of for, any solutions can help! Thanks in advance!