TestCase 4 & 5 results wrong answer

How can i know which test case is getting wrong in my program?

probably you have an option of unlocking the testcases…but think about the corner cases for some time…as it will enhance your skills

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

where is ur code?

possible mistakes:

take the n in long.
modify the value if it is >=5
but dont modify the first digit if it is 9.( first digit will become 0)

hope this will help u

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.