0
exeption in java
https://code.sololearn.com/c3wu75ie3XdI/#java in this code there is an exeption can someone fix it?
1 ответ
+ 2
Use only one Scanner.
Scanner a = new Scanner(System.in);
Scanner b = new Scanner(System.in);
...
int aa = a.nextInt();
int bb = b.nextInt();
....
|
V
Scanner a = new Scanner(System.in);
int aa = a.nextInt();
int bb = a.nextInt();
....