My task is to enter in one row of data, 1 number tells how many elements the array will have, the next tells what elements they will be. Before entering data I do not know how big a 3-element or 300 array can be. Example
Input 5 3 6 5 7 8
Array1[5]={3,6,5,7,8}
If I press enter it initializes the next table Board2, like
Input 3 9 8 3
Array2[3]={9,8,3}
If he gets two enters, he will stop entering data. Can you help me with this?