Question d’entretien chez Cognizant

Write a program for prime number