IBM interview question

Basic programming question palindrome, odd or even