Your function is given an array (and its size if you are coding in C/C++) containing some numbers. Decrease the value of all odd numbers in the array by 1, so that the entire array contains only even numbers.
Sign in
Sign up