Answer the question
In order to leave comments, you need to log in
How to count a column (column) as one line in java and split it into array elements?
You need to read the following line:
1
3 2 -2
5 2 1
32 22
11 29
How to split it into arrays of lines so that 1 line = array element
Scanner nextLine() - refuses to do this, it reads only the first line.
Thank you.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question