You are viewing a single comment's thread. Return to all comments →
The test case #6 has inputs: 8 4 12 1 1 1 and the expected output is: 10000
but the difference between the years is 12-1 = 11 and the fine will be: fine = 11 * 10000 = 110000
this test case itself is wrong
Seems like cookies are disabled on this browser, please enable them to open this website
Nested Logic
You are viewing a single comment's thread. Return to all comments →
The test case #6 has inputs: 8 4 12 1 1 1 and the expected output is: 10000
but the difference between the years is 12-1 = 11 and the fine will be: fine = 11 * 10000 = 110000
this test case itself is wrong