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 interest rate: Please enter the duration of the loan, in years: Please enter the duration of the loan, in years: Month Principal Interest Balance ----- --------- --------- --------- 792 384.74 115.26 2766.24 791 369.35 130.65 3135.59 790 354.58 145.42 3490.17 789 340.39 159.61 3830.56 788 326.78 173.22 4157.34 787 313.71 186.29 4471.04 786 301.16 198.84 4772.20 785 289.11 210.89 5061.31 784 277.55 222.45 5338.86 783 266.45 233.55 5605.31 782 255.79 244.21 5861.09 781 245.56 254.44 6106.65 780 235.73 264.27 6342.38 779 226.30 273.70 6568.69 778 217.25 282.75 6785.94 777 208.56 291.44 6994.50 776 200.22 299.78 7194.72 775 192.21 307.79 7386.93 774 184.52 315.48 7571.46 773 177.14 322.86 7748.60 772 170.06 329.94 7918.66 771
JOJ Answer
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: Please enter the duration of the loan, in years: Month Principal Interest Balance ----- --------- --------- --------- 792 480.00 20.00 480.00 791 460.80 39.20 940.80 790 442.37 57.63 1383.17 789 424.67 75.33 1807.84 788 407.69 92.31 2215.53 787 391.38 108.62 2606.91 786 375.72 124.28 2982.63 785 360.69 139.31 3343.33 784 346.27 153.73 3689.59 783 332.42 167.58 4022.01 782 319.12 180.88 4341.13 781 306.35 193.65 4647.48 780 294.10 205.90 4941.58 779 282.34 217.66 5223.92 778 271.04 228.96 5494.96 777 260.20 239.80 5755.16 776 249.79 250.21 6004.96 775 239.80 260.20 6244.76 774 230.21 269.79 6474.97 773 221.00 279.00 6695.97 772 212.16