69,373
社区成员
发帖
与我相关
我的任务
分享
#include "stdafx.h"
#include "stdio.h"
void main()
{
int a;
while(1)
{
fflush(stdin);
scanf("%d",&a);
switch(a)
{
case 1:
printf("Monday");
break;
case 2:
printf("Tuesday");
break;
case 3:
printf("Wendsday");
break;
default:
printf("no define!");
}
}
}