How can i get user's information and puts it in a nested array? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

How can i get user's information and puts it in a nested array?

just one by one...

30th Dec 2016, 2:25 AM
Edgar Gómez
Edgar Gómez - avatar
1 ответ
+ 1
If your question is about how you can input them in console the answer is by a single line or one after the other. For the single line, use the split function to split the values at a specific symbol like a white space. After you got the input iterate over the array and assign the values. For one by one just iterate through the input and assign it directly.
30th Dec 2016, 2:35 AM
Andreas K
Andreas K - avatar