Whenever I run the code in eclipse ide its run perfectly fine but it gives error here.
why?.
Binary to Decimal
Hey @sb8031151_af528e7b895c738c It is bcoz you are taking input 2 times like int snum=scn.nextInt();
int sb=scn.nextInt();
But in the Question mentioned you have to only take input value of N not any other input.
So make your concept just by using value of N and only take input of N.
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.
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.