Cisco Interview Question

Write a program to generate a Palindrome