Question d’entretien chez Cognizant

Write a program to find prime numbers?