Student Loan Program. Prompt for 1) an initial loan amount, 2) the annual percen
ID: 3624000 • Letter: S
Question
Student Loan Program.Prompt for
1) an initial loan amount,
2) the annual percentage rate, and
3) the desired monthly payments. Print out a repayment schedule with at least 4 columns: the month, month’s beginning balance, current months interest, and total paid.
Add text column headings at the top of the chart. Output the correct last payment amount and the total interest paid. (The special character ‘ ’, tab, can be used to align output columns)
current_months_interest = (beginning_balance * annual_percentage_rate) / ( 12 * 100)
beginning_balance = beginning_balance - ( payment – current_months_interest)
Explanation / Answer
hk