Girikon Interview Question

Write a program for prime number ,