mm i can see some mistakes here.

so you wanna seperate odd and even number, right?

but what is result of 'randomNum / 2 == 1'?

and try to do step by step. like try to make with only one...