0
Why is it that when the input to this code is "as, if, they" the program only prints out "as".
2 odpowiedzi
+ 3
You should use method nextLine() instead of next()
Cause next() takes only the next world, nextLine() takes the whole line
0
Thanks. This just proves the level of my amateur skills. 😂.
Thanks