Create an amortization schedule to calculate your monthly payments on a car and show the loan balance over time with visual logic? Must include assignment statements, IF statement, loop, array.

amount= 20000
interest rate= 2%
Pay by= 5 yrs
So far i've done monthly payment= 20000*.02
balance after the first payment 20000-(20000*.02)