Domanda di colloquio di IBM

Basic programming question palindrome, odd or even