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 interest rate: Please enter the duration of the loan, in years: Month Principal Interest Balance ----- --------- --------- --------- 648 269.05 70.42 1360.99 647 255.81 83.66 1616.81 646 243.23 96.25 1860.03 645 231.26 108.21 2091.29 644 219.88 119.59 2311.18 643 209.07 130.41 2520.24 642 198.78 140.69 2719.02 641 189.00 150.47 2908.02 640 179.70 159.77 3087.72 639 170.86 168.61 3258.58 638 162.45 177.02 3421.04 637 154.46 185.01 3575.50 636 146.86 192.61 3722.36 635 139.64 199.84 3862.00 634 132.77 206.71 3994.77 633 126.24 213.24 4121.00 632 120.02 219.45 4241.03 631 114.12 225.35 4355.15 630 108.51 230.97 4463.65 629 103.17 236.31 4566.82 628 98.09 241.38 4664.91 627 93.27 246.21 4758.17 626 88.68 250.80 4846.85 625 84.31 255.16 4931.16 624 80.17 259
JOJ Answer
Please enter the monthly payment: Please enter the interest rate: Please enter the duration of the loan, in years: Month Principal Interest Balance ----- --------- --------- --------- 648 322.77 16.70 322.77 647 306.89 32.58 629.66 646 291.79 47.68 921.46 645 277.44 62.04 1198.89 644 263.79 75.69 1462.68 643 250.81 88.66 1713.49 642 238.47 101.00 1951.96 641 226.74 112.73 2178.70 640 215.58 123.89 2394.28 639 204.98 134.50 2599.26 638 194.89 144.58 2794.15 637 185.30 154.17 2979.45 636 176.19 163.29 3155.64 635 167.52 171.95 3323.16 634 159.28 180.20 3482.44 633 151.44 188.03 3633.88 632 143.99 195.48 3777.87 631 136.91 202.57 3914.77 630 130.17 209.30 4044.95 629 123.77 215.71 4168.71 628 117.68 221.80 4286.39 627 111.89 227.59 4398.28 626 106.38 233.09 4504.66 625 101.15 238.32 46