Question d’entretien chez Cognizant

Write a program to check leap year?