How could I create 2 arrays; one that holds only even numbers and one that only holds odds? They will both hold N number of elements in which N is inputted by the user before.
I don't understand what you said, but now you need a loop to assign the values.
There are cryptic ugly ways to do the loop without the extra variables, this is explicit code to show what is being done clearly.
int e = 2; //0 is not even, according to theory
int o = 1;
int dx;