TEKsystems interview question

How do you code a program for inputting a palindrome ?