## Write a function that takes an array of integers as an argument and returns a value based on the sums of the even and odd numbers in the array.

Category: Java Quiz

Write a function that takes an array of integers as an argument and returns a value based on the sums of the even and odd numbers in the array. Let X = the sum of the odd numbers in the array and let Y = the…