题目内容

/*-------------------------------------------------------【程序填空】-------------------------------------------------------题目:输入年y,月m,计算出该年该月有多少天。其中判断闰年的条件是:能被4整除但不能被100整除的年是闰年,能被400整除的年也是闰年。请在空内填入正确的内容。-----------------------------------------------------*/#includemain(){intd,y,m,t;printf("请按次序输入年,月\n");scanf("%d,%d",&y,&m);/***********SPACE***********/if(y%4==0____y%400==0)/*不要使用空格*/t=1;elset=0;/***********SPACE***********/switch(____){case1:case3:case5:case7:case8:case10:case12:d=31;break;/***********SPACE***********/case4:case6:case9:case11:____/***********SPACE***********/case2:d=____;}/***********SPACE***********/printf("%d年的%d月有%d天\n",____);}

查看答案
更多问题

Loving nature, however, I was most delighted by the endless patchwork of farms and woodland that surrounded our house.(para. 2)

Keeping to myself was my way of not forming attachments that I would only have to abandon the next time we moved.(para. 3)

My own breathing rang in my ears, and the slightest stirring of any woodland creature echoed through this private paradise.(para. 4)

Soon I saw a small brick cottage that glowed pinkly in the westering sun. (para. 18)

答案查题题库