Good afternoon!
I am struggling to split an Array (A) of Size e.g. 10 into two other Arrays (B and C). Array B should contain all even elements of A and C, apparently, all odd elements of A.
Example:
A = [5, 4, 7, 2, 9, 6, 8, 11, 25, 17} ->
B = [5, 7, 9, 8, 25]
C = [4, 2, 6, 11, 17]
Best!