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, the main problem you meet now is Runtime Error. And the exit code of your program is -11, which should be 0.

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
-----	---------	---------	---------
1200036	    12.00	 99989.00	    12.00
1200035	     0.00	100001.00	    12.00
1200034	     0.00	100001.00	    12.00
1200033	     0.00	100001.00	    12.00
1200032	    -0.00	100001.00	    12.00
1200031	    -0.00	100001.00	    12.00
1200030	    -0.00	100001.00	    12.00
1200029	    -0.00	100001.00	    12.00
1200028	    -0.00	100001.00	    12.00
1200027	    -0.00	100001.00	    12.00
1200026	    -0.00	100001.00	    12.00
1200025	    -0.00	100001.00	    12.00
1200024	    -0.00	100001.00	    12.00
1200023	    -0.00	100001.00	    12.00
1200022	    -0.00	100001.00	    12.00
1200021	    -0.00	100001.00	    12.00
1200020	    -0.00	100001.00	    12.00
1200019	    -0.00	100001.00	    12.00
1200018	    -0.00	100001.00	    12.00
1200017	    -0.00	100001.00	    12.00
1200016	    -0.00	100001.00	    12.00
1200015	    -0.00	100001.00	    12.00

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 interest rate: Please enter the interest rate: Please enter the interest rate: Please enter the duration of the loan, in years: Please enter the duration of the loan, in years: Please enter the duration of the loan, in years: 
Month	Principal	 Interest	  Balance
-----	---------	---------	---------
1200	100000.00	     0.00	100000.00
1199	100000.00	     0.00	200000.00
1198	100000.00	     0.00	300000.00
1197	100000.00	     0.00	400000.00
1196	100000.00	     0.00	500000.00
1195	100000.00	     0.00	600000.00
1194	100000.00	     0.00	700000.00
1193	100000.00	     0.00	800000.00
1192	100000.00	     0.00	900000.00
1191	100000.00	     0.00	1000000.00
1190	100000.00	     0.00	1100000.00
1189	100000.00	     0.00	1200000.00
1188	100000.00	     0.00	1300000.00
1187	100000.00	     0.00	1400000.00
1186	100000.00	     0.00	1500000.00
1185	100000.00	     0.0