LTM Limited Interview Question

Write a prime number program