Voldex Interview Question

1. Program to check prime number. 2. Program to check palindrome.