Cvent Interview Question

Given a number, determine if it is a prime