OJ-Problems-Source/QUSTOJ/1619_XXXX001.cpp

20 lines
362 B
C++
Raw Normal View History

2016-05-01 18:43:32 +08:00
#include<stdio.h>
int main(){
int a;
scanf("%d",&a);
switch(a){
case 1:printf("Monday");break;
case 2:printf("Tuesday");break;
case 3:printf("Wednesday");break;
case 4:printf("Thursday");break;
case 5:printf("Friday");break;
case 6:printf("Saturday");break;
default:printf("Sunday");
}
return 0;
}