Question d’entretien chez Cognizant

Write a program odd or even