Question d’entretien chez Capgemini

How to write the code for prime numbers