What would be a good strategy to separate the digits from the integer and check if it is even or odd?

Find the remainder of the numbers after dividing by 10. Also, check whether if the remainder % 2 == 0 or not to see if it is even or odd.

num % 10 will help you get the "ones" digit.

num / 10 will remove the "ones" digit to be able to test the next digit.

For example

256 % 10 = 6 then 256 / 10 = 25

So now using the 25, 25%10 = 5 then 25 / 10 = 2