+ 1

can you print an array with the user input feature in java

what do you type? Scanner.nextArray? or what?

8th Jun 2018, 6:21 PM
UltraCreamyAlex
UltraCreamyAlex - avatar
2 ответов
+ 1
How exactly do you want your input to be stored? Would it be all as one element, split by every space, split up for every character, etc.?
9th Jun 2018, 2:27 AM
Faisal
Faisal - avatar
0
the ans is here . you can use a loop for that https://code.sololearn.com/cyKTM0zTVvUx/?ref=app
12th Jun 2018, 3:57 PM
sujith
sujith - avatar