How to find whether a number in an array is odd or even

This might a simple problem. But I'm not able to crack the issue. Any helps would be appreciated. I have got an array which produces 0 to 'n'(which we will enter. I want to check each number for odd or even and that output should be connected to a case selector( case structure or if loop). If it is true I've one connection else another. I tried quotient and remainder, but it's showing the output of the first value only. Please help me out