Alamance interview question

4 program palindrome, prime number