Problem
Write a short program that tests a number to see if it's prime. If it is, have it print out a short message. If it's not, have Mathematica factor it and print out its prime factorization. It would be good practice to test the number to see if it's an integer before doing anything else: and print out an error message if it's not an integer.