Cognizant interview question

Write a program odd or even