I have an array of numbers. For example:
a = (1,2,3,4,5,6)
Now I need to create another two array from a based on some criteria. Say x array of even number numbers and y array of odd numbers.
I have done that. But the next thing is, I want to publish them as below:
z x y
1 1
2 2
3 3
4 4
5 5
6 6
I dont know how to print the void places as I have already created x and y array from z. Any help?