Please check my code and help me. output is correct but the testcases are not going through.
Why are the test cases not going through
Hey @sknrash123_211566f624d672c3 You just have to remove line
System.out.println(“Enter the value of n in binary format:”);
from your code and your answer will be correct.
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.