How can i get user's information and puts it in a nested array? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
+ 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