Input in Java (specifically on Solo Learn) | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Input in Java (specifically on Solo Learn)

How de we input multiple responses in a Java program when prompted? It's easy on Eclipse because it asks for responses one at a time, but here, it asks for input all at once.

27th Jun 2017, 4:58 PM
Sid Meade
Sid Meade - avatar
5 Antworten
+ 3
yes and this is biggest problem of sololearn code playground
27th Jun 2017, 5:04 PM
Hetbo.net
Hetbo.net - avatar
+ 3
no its not look at my last code(tik tak toe) it needs to interact with user so you can't put every thing at first
27th Jun 2017, 5:36 PM
Hetbo.net
Hetbo.net - avatar
+ 2
it is possible.. when u pass the input then seperate every input into new line.. for example: if u have to take input for a and b then write 5 7 in such a way and the dialogue box which appears it read as seperate multiple inputs in different line
27th Jun 2017, 5:33 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
So it is not possible?
27th Jun 2017, 5:10 PM
Sid Meade
Sid Meade - avatar
0
I tried sepeating multiole inputs with multiple lines and it didn't work.
27th Jun 2017, 5:47 PM
Sid Meade
Sid Meade - avatar