Attached is Interest Amortization program for your reference.
A 2 min search on google would have given you this.
This was free available on some of the site i searched.
Anyways, let me know if this doesnt help
When you unzip it, you will find 3 files. AMORTIZ1.COB is the source of the version of the program I wrote back in 1976 in the programming style of the day, the straight-line style. AMORTIZ2.COB is the same program restructured in a modular style. AMORTIZE.INP is the parameter file which contains the information required by either program to produce the amortization schedule as well as instructions as to what goes in each field. You will need to compile the source, and then link the object. To amortize your own loan, merely change the parameters in the first line of AMORTIZE.INP and execute whichever version of the program you like. They both produce exactly the same output.
Make sure your printer accepts data via the PRN: printer device. Otherwise, you'll have to change the writes to the printer to writes to a disk file, then print the disk file with a word processor or editor.