Im having a lot of trouble setting this table up and iterating the values because I cant seem to figure out how to change my floats to intergers in order to use loops!
Part 4: Loan Amortization Tlable A Loan Amortization is a complete table of periodic loan payments, showing the amount of loan principal and the amount of interest that comprise each payment until the balance of the loan is zero at the end of its term. Loan Amortization Table payment payment balance paid balance $98.96 $95 $91 s87 s83 1/1/2018 $25, 000.00 2/1/2018 $24,004.97 3/1/2018 $23, 006.00 22,003.08 5/1/2018 $20,996.19 6/1/2018 19,985.31 7/1/2018 $18,970.43 8/1/2018 $17,951.53 9/1/2018 $16,928.60 10 10/1/2018 $15,901.63 11 11/1/2018 $14, 870.58 $13,835.46 1/1/2019 $12,796.23 2/1/2019 $11,752.90 3/1/2019 $10,705.43 $9, 653.82 $1,093.99 $995.03 $24,004.97 $23,006.00 $22,003.08 $1,006.89 $20,996.19 $1,010.88 $19,985.31 18,970.43 17,951.53 $1,022.93 $16,928.60 $1,026.98 $15,901.63 $14, 970.59 $1,035.13 $13,835.46 $1,093 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 4/1/2018 $1,014.88 $1,018.90 $67 $62.94 $1,031.04 12 12/1/2018 $54 $1,039.22 $1,043.34 $1,047.47 $1,051.61 $1,055.77 $1,059.95 $11,752.90 $10,705.43 $9,653.82 $9,598.04 $38 $3403 $29 4/1/2019 5/1/2019 6/1/2019 7/1/2019 8/1/2019 9/1/2019 22 10/1/2019 23 11/1/2019 24 12/1/2019 $8,598.0 $6,473.94 $5,405.59 $4,332.99 $3,256.15 2,175.05 67 $1,068.36 $1,072.59 $1,076.84 $1,081.10 $1,085.38 $1,089 473.94 $5,405.58 S4,332.99 $3,256.15 $2,175.05 $1,089.67 29 $21.40 Example Loan Amortization Table $25,000 loan with APR of 4.75%, 2 year term with 12 payments per year Write a function named amortize ) that accepts the arguments needed to calculate and display a Loan Amortization Table. Display of the values matching the example provided as closely as possible Modify the main () function to call amortize) providing the necessary arguments. HINT: The amortize () function does not return return any values. Part 4: Loan Amortization Tlable A Loan Amortization is a complete table of periodic loan payments, showing the amount of loan principal and the amount of interest that comprise each payment until the balance of the loan is zero at the end of its term. Loan Amortization Table payment payment balance paid balance $98.96 $95 $91 s87 s83 1/1/2018 $25, 000.00 2/1/2018 $24,004.97 3/1/2018 $23, 006.00 22,003.08 5/1/2018 $20,996.19 6/1/2018 19,985.31 7/1/2018 $18,970.43 8/1/2018 $17,951.53 9/1/2018 $16,928.60 10 10/1/2018 $15,901.63 11 11/1/2018 $14, 870.58 $13,835.46 1/1/2019 $12,796.23 2/1/2019 $11,752.90 3/1/2019 $10,705.43 $9, 653.82 $1,093.99 $995.03 $24,004.97 $23,006.00 $22,003.08 $1,006.89 $20,996.19 $1,010.88 $19,985.31 18,970.43 17,951.53 $1,022.93 $16,928.60 $1,026.98 $15,901.63 $14, 970.59 $1,035.13 $13,835.46 $1,093 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 $1,093.99 4/1/2018 $1,014.88 $1,018.90 $67 $62.94 $1,031.04 12 12/1/2018 $54 $1,039.22 $1,043.34 $1,047.47 $1,051.61 $1,055.77 $1,059.95 $11,752.90 $10,705.43 $9,653.82 $9,598.04 $38 $3403 $29 4/1/2019 5/1/2019 6/1/2019 7/1/2019 8/1/2019 9/1/2019 22 10/1/2019 23 11/1/2019 24 12/1/2019 $8,598.0 $6,473.94 $5,405.59 $4,332.99 $3,256.15 2,175.05 67 $1,068.36 $1,072.59 $1,076.84 $1,081.10 $1,085.38 $1,089 473.94 $5,405.58 S4,332.99 $3,256.15 $2,175.05 $1,089.67 29 $21.40 Example Loan Amortization Table $25,000 loan with APR of 4.75%, 2 year term with 12 payments per year Write a function named amortize ) that accepts the arguments needed to calculate and display a Loan Amortization Table. Display of the values matching the example provided as closely as possible Modify the main () function to call amortize) providing the necessary arguments. HINT: The amortize () function does not return return any values