#include<stdio.h>
/*宏定义*/
#define m(x) printf("x\n")
#define a break
main()
{
int month;
m(qing shu ru yue fen);
scanf("%d",&month);
switch(month)
{
case 1;m(january);a;
case 2;m(february);a;
case 3;m(march);a;
case 4;m(aprial);a;
case 5;m(may);a;
case 6;m(jun);a;
case 7;m(july);a;
case 8;m(augerous);a;
case 9;m(september);a;
case 10;m(octomber);a;
case 11;m(november);a;
case 12;m(december);a;
}
}
时间: 2024-11-06 12:29:23