Fast Enterprises Interview Question

Write a function print prime numbers. Write function isPrime.