0

exeption in java

https://code.sololearn.com/c3wu75ie3XdI/#java in this code there is an exeption can someone fix it?

5th Jul 2018, 8:07 AM
Terraria_master7
Terraria_master7 - avatar
1 Odpowiedź
+ 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(); ....
5th Jul 2018, 8:22 AM
Disvolviĝo;
Disvolviĝo; - avatar