Calculate sum of odd and even of an array in Java

0Shares