Pergunta de entrevista da empresa Fast Enterprises

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