Chevron Interview Question

How would you write a program to find if a number is prime. (No coding)