+ 1
Is there a way to pass user inputs several times in java in SoloLearn's code playground?
2 Respuestas
+ 4
It's not possible to input something while the code is running, that's a problem of the playground.
+ 3
Scanner scanner = new Scanner (System.in);
int i1 = scanner.nextInt();
int i2 = scanner.nextInt();
int i3 = scanner.nextInt();
then put every input like this:
1
2
3