0
This code is running perfectly in CMD but not in SoloLearn's platform. Why is that so? Can anyone please explain it?
3 odpowiedzi
+ 1
You use 2 different scanner, but solo can give only 1 order to input.
+ 1
you can test it this way:
Scanner s=new Scanner("1 1"); //System.in);
+ 1
Thank you