+ 1
Hi. Could you help me. In netbeans it is ok. But here does not work the second scanner
4 Answers
+ 3
On sololearn you can use just one scanner. And you need only one scanner because you can use it for all input:
Scanner scan = new Scanner(System.in);
int birthday = scan.nextInt();
int speed = scan.nextInt();
+ 2
No because on sololearn you have to enter all values at the beginning. For interactive codes you should use your ide not the code playground.
+ 1
Yes. Understand. Thanks
0
Yea. Thanks. But it will not be such interactive))