TEKsystems Interview Question

How do you code a program for inputting a palindrome ?