Find out list of number is odd or even using array of integer

Hi I need to find these set of numbers to be odd or even using array if integer. (2,3,9,21,27,32,42,55,62,78)

Welcome to the forum

Lets assume the numbers are items of an integer array.

Following statement retrieves the even numbers from it:

following statement retrieves the odd ones:

1 Like