My code is running perfectly in eclipse,but in this IDE I am getting a java.util.NoSuchElement Exception in nextInt()
Compilation Error
this exception come when you don’t provide enough input to stdin.
some IDE needs input in advance. you can provide them from input section before execution.
Thanks
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.
What stdin? I am compiling my code in java 8
your code has run time error not compile time right?
When you are running your code, how are you providing the input to your code?
Just type all the inputs that you want to provide in input window (left down pane in codingblocks ide) in advance.
Thanks
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.