coping elements not in array
If the user is given an option of inputing a certain amount of int elements (MAX being 9) and then inputs those elements, how can I copy the elements he did NOT put into the array into another array?
For example,
He/She enters 3 then inputs 1, 2, 3
4, 5, 6, 7, 8, 9 is copied into another array.
or
they enter 2 then input 1, 3
2, 4, 5, 6, 7, 8, 9 is copied into another array.
I've tried to use two for loops to accomplish this but I can't figure out the logic. Because depending the users input it seems the logic (the indexes) have to change...
any ideas?