How to make the input consist of a series of integers n, one integer per line? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to make the input consist of a series of integers n, one integer per line?

The amount of intergers is not sure

2nd Jul 2019, 2:14 PM
Merida
Merida - avatar
2 Answers
+ 2
Codinger 🖥️🇲🇰 I have found the solutions, that's a better way https://code.sololearn.com/cDbR0D5k6810/?ref=app
2nd Jul 2019, 3:10 PM
Merida
Merida - avatar
+ 4
First user need to enter the number of number that he want to enter! Second make a for or while loop for entering the numbers!
2nd Jul 2019, 2:24 PM
CodeFu
CodeFu - avatar