Cognizant Interview Question

Odd or even programming ques