You either die a hero...or you live long enough to see yourself become the villain.
I can do those things.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #include<stdio.h> void main() { int year; while (scanf( " %d " , & year) != EOF) { if (year % 4 == 0 && (year % 400 == 0 || year % 100 != 0 )) printf( "LEAP YEAR" ); else printf( "NOT LEAP YEAR" ); } }
Comments
Post a Comment