0
Multiple scanners in code playground
Can you add multiple scanners to input variables in the code playground? I've added a second a few lines of code after the first but when I run it, it seems to skip over the second.
3 Respostas
+ 4
You might be able to, not sure.
Why create a second scanner anyway? It's not like the input stream is going to be different. Just use the first scanner.
+ 3
pass the input in two seperate lines
0
Thanks! I think I've misunderstood how to use the scanners... I'll go back and read up!