Prog#102: Print Leap year from 1000 to 2000

/* 
Program#102
Print Leap year from 1000 to 2000
*/

#include <stdio.h>
main(){
int i,a;
for(i=1000;i<=2000;i++){
a=i%4;
if(a)
printf("\nNot Leap Year=%d",i);
else
printf("\nLeap Year=%d",i);
}
}