Question d’entretien chez Infosys

Write a code for checking prime numbers?