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 ----- --------- --------- --------- 912 -0.00 2806.98 40111.41 911 -0.00 2806.98 40111.41 910 -0.00 2806.98 40111.41 909 -0.00 2806.98 40111.41 908 -0.00 2806.98 40111.41 907 -0.00 2806.98 40111.41 906 -0.00 2806.98 40111.41 905 -0.00 2806.98 40111.41 904 -0.00 2806.98 40111.41 903 -0.00 2806.98 40111.41 902 -0.00 2806.98 40111.41 901 -0.00 2806.98 40111.41 900 -0.00 2806.98 40111.41 899 -0.00 2806.98 40111.41 898 -0.00 2806.98 40111.41 897 -0.00 2806.98 40111.41 896 -0.00 2806.98 40111.41 895 -0.00 2806.98 40111.41 894 -0.00 2806.98 40111.41 893 -0.00 2806.98 40111.41 892 -0.00 2806.98 40111.41 891 -0.00 2806.98 40111.41 890 -0.00 2806.98 40111.41 889 -0.00 2806.98 40111.41 888 -0.00 2806
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 ----- --------- --------- --------- 912 2623.40 183.58 2623.40 911 2451.82 355.16 5075.21 910 2291.46 515.52 7366.68 909 2141.60 665.38 9508.27 908 2001.53 805.45 11509.80 907 1870.62 936.36 13380.42 906 1748.28 1058.70 15128.70 905 1633.94 1173.04 16762.64 904 1527.07 1279.91 18289.72 903 1427.20 1379.78 19716.91 902 1333.86 1473.12 21050.77 901 1246.62 1560.36 22297.39 900 1165.09 1641.89 23462.47 899 1088.89 1718.09 24551.36 898 1017.67 1789.31 25569.03 897 951.11 1855.87 26520.14 896 888.91 1918.07 27409.05 895 830.77 1976.21 28239.82 894 776.43 2030.55 29016.25 893 725.65 2081.33 29741.91 892 678.19 2128.79 30420.10 891 633.84 2173.14 31053.94 890 592.38 2214.60 31646.32 889 553.64 2253.34 321