0
I'm new to this, can you help me? first of all, Thanks
I need to enter names, and that these are stored in a vector (or matrix), as a list, that is, within a matrix of 10 spaces, there will be 10 names. the names will be entered by the user, it is not known how many names the user is going to enter.
1 Resposta
+ 2
Ok, but how can I help you then? You basically figured out all you need by yourself. You just need to read the names in a loop and push each new name into the vector. If you you're finished you can check whether the name entered is empty and then leave the loop.