Enova Interview Question

Write out a program that tests whether a number is a prime number.