Fast Enterprises interview question

Write a program that determines if a number is prime or not.