Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
Please enter the monthly payment: Please enter the monthly payment: Please enter the monthly payment: Please enter the monthly payment: Please enter the monthly payment: Please enter the interest rate: Please enter the duration of the loan, in years: Month Principal Interest Balance ----- --------- --------- --------- 144 -45217662217676441173596132746104333254603408694355882774610184406961779943764036494661958753112938285455500787822580253708502269917277736267712059016295037779953488413676325934183529829644238791063346432086521101156352.00 45217662217676441173596132746104333254603408694355882774610184406961779943764036494661958753112938285455500787822580253708502269917277736267712059016295037779953488413676325934183529829644238791063346432086521101156352.00 97.02 143 93.74 6.68 190.77 142 90.57 9.85 281.34 141 87.51 12.91 368.85 140 84.55 15.87 453.40 139 81.69 18.73 535.09 138 78.93 21.49 614.02 137 76.26 24.16 690.28 136
JOJ Answer
Please enter the monthly payment: Please enter the monthly payment: Please enter the monthly payment: Please enter the monthly payment: Please enter the monthly payment: Please enter the interest rate: Please enter the duration of the loan, in years: Month Principal Interest Balance ----- --------- --------- --------- 144 97.02 3.40 97.02 143 93.74 6.68 190.77 142 90.57 9.85 281.34 141 87.51 12.91 368.85 140 84.55 15.87 453.40 139 81.69 18.73 535.09 138 78.93 21.49 614.02 137 76.26 24.16 690.28 136 73.68 26.74 763.96 135 71.19 29.23 835.15 134 68.78 31.64 903.94 133 66.46 33.96 970.39 132 64.21 36.21 1034.60 131 62.04 38.38 1096.64 130 59.94 40.48 1156.58 129 57.91 42.51 1214.49 128 55.95 44.47 1270.45 127 54.06 46.36 1324.51 126 52.23 48.19 1376.74 125 50.47 49.95 1427.2