G
G
gvadelypa2020-05-29 15:30:13
C++ / C#
gvadelypa, 2020-05-29 15:30:13

How to make the console read numbers from a new line?

Let's say the input data is
1
2
3
...
How to read them from each line and put them in an array if the number of lines is not known?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LiptonOlolo, 2020-05-29
@NovichekTyrnira

Use List

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question