Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

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
-----	---------	---------	---------
864	  2471.93	  -414.18	-10392.60
863	  2377.19	  -319.44	 -8015.41
862	  2286.08	  -228.33	 -5729.32
861	  2198.47	  -140.72	 -3530.86
860	  2114.21	   -56.46	 -1416.65
859	  2033.18	    24.57	   616.53
858	  1955.26	   102.49	  2571.79
857	  1880.32	   177.43	  4452.10
856	  1808.25	   249.50	  6260.36
855	  1738.95	   318.80	  7999.31
854	  1672.30	   385.45	  9671.61
853	  1608.21	   449.54	 11279.82
852	  1546.57	   511.18	 12826.40
851	  1487.30	   570.45	 14313.70
850	  1430.30	   627.45	 15743.99
849	  1375.48	   682.27	 17119.47
848	  1322.76	   734.99	 18442.24
847	  1272.07	   785.68	 19714.31
846	  1223.31	   834.44	 20937.62
845	  1176.43	   881.32	 22114.05
844	  1131.34	   926.41	 23245.39
843	  1087.98	   969.77	 24333.37
842	  1046.28	  1011.47	 25379.66
841	  1006.18	  1051.57	 26385.84
840	   967.62	  1090

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
-----	---------	---------	---------
864	  1978.88	    78.87	  1978.88
863	  1903.04	   154.71	  3881.93
862	  1830.11	   227.64	  5712.03
861	  1759.97	   297.78	  7472.00
860	  1692.51	   365.24	  9164.51
859	  1627.65	   430.10	 10792.16
858	  1565.26	   492.49	 12357.42
857	  1505.27	   552.48	 13862.70
856	  1447.58	   610.17	 15310.28
855	  1392.10	   665.65	 16702.38
854	  1338.75	   719.00	 18041.13
853	  1287.44	   770.31	 19328.57
852	  1238.10	   819.65	 20566.67
851	  1190.65	   867.10	 21757.32
850	  1145.01	   912.74	 22902.33
849	  1101.13	   956.62	 24003.46
848	  1058.93	   998.82	 25062.39
847	  1018.34	  1039.41	 26080.73
846	   979.31	  1078.44	 27060.05
845	   941.78	  1115.97	 28001.83
844	   905.69	  1152.06	 28907.51
843	   870.98	  1186.77	 29778.49
842	   837.59	  1220.16	 30616.08
841	   805.49	  1252.26	 314