Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
#include<stdio.h> int main() { int year,count=0; for(year=1000;year<=2000;year++) { if(year%4==0&&year%100!=0) {
printf(" %d",year); count++;}
else if (year%400==0) { printf(" %d",year); count++; } }printf("\n count=%d",count); return 0;}