Search found 1 match
- Sun May 09, 2010 11:35 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10070 - Leap Year or Not Leap Year and ...
- Replies: 233
- Views: 58721
Re: 10070 - Leap Year or Not Leap Year and …
# include<stdio.h> int main() { int y,tmp,h; while(scanf("%d", &y)==1) { h=0; tmp=0; if((y%400==0)||(y%100!=0)&&(y%4==0)) { printf("This is leap year.\n"); tmp=1; } if(y%15==0) { printf("This is huluculu festival year.\n"); h=1; } if((y%55==0)&&(tmp=...