Fast Enterprises Interview Question

Write pseudocode to check if number is prime or not.