Toshiba Interview Question

Program to find a palindrome, prime number etc