2005 Challenge Problem #1
Consider a method called oddEven that takes a single parameter that is
an array of int.
After oddEven is finished, all the odd elements should be at the beginning
of the array (in any order)
and all the even elements should be at the end of the array (in any order).
The size of the array remains
unchanged. If a void reference is passed as a parameter, the method does nothing.
Write the method oddEven.
public void oddEven(int arr)
// fill in here
Note: You may want to create some arrays inside the method for temporary storage.