We have to find sum of array and then return if the value is odd (boolean) using recursion
A = {87, 31, 15, 25, 10, 15, 21, 75)
methodname(A, pos) //position is 0 at the begining
i did this so far, but i'm way off since i can't sum and return boolean in the same line
if (pos == array.length-1) {
return A[pos] % 2 != 0
} else {
if (pos < A.length - 1)
return A[pos] + methodname(A, pos + 1) % 2 == 1;
}