C Language
#include<stdio.h> #include<conio.h> void main( ) { int y; clrscr( ); printf ("Enter any Year = "); scanf ("%d", &y) if (y % 4 == 0 || y % 100 == 0){ printf ("Leap Year"); } else { printf ("Not Leap Year"); } getch( ); } /*OUTPUT*/ Enter any Year = 1996 Leap Year