You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
200 B

void when(int F,int G)
{
if(F==1&&G==1||F==5&&G==1||F==10&&G==1)
printf("当天为法定节日\n");
else
printf("当天不是法定节日\n");
} /*****判断输入日期是否为法定节日*****/