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
-----	---------	---------	---------
12	     -nan	     -nan	     -nan
11	     -nan	     -nan	     -nan
10	     -nan	     -nan	     -nan
9	     -nan	     -nan	     -nan
8	     -nan	     -nan	     -nan
7	     -nan	     -nan	     -nan
6	     -nan	     -nan	     -nan
5	     -nan	     -nan	     -nan
4	     -nan	     -nan	     -nan
3	     -nan	     -nan	     -nan
2	     -nan	     -nan	     -nan
1	     -nan	     -nan	     -nan

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
-----	---------	---------	---------
12	     1.00	     0.00	     1.00
11	     1.00	     0.00	     2.00
10	     1.00	     0.00	     3.00
9	     1.00	     0.00	     4.00
8	     1.00	     0.00	     5.00
7	     1.00	     0.00	     6.00
6	     1.00	     0.00	     7.00
5	     1.00	     0.00	     8.00
4	     1.00	     0.00	     9.00
3	     1.00	     0.00	    10.00
2	     1.00	     0.00	    11.00
1	     1.00	     0.00	    12.00