Fast Enterprises Interview Question

Write pseudocode for an isPrime() function.