mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
20 lines
362 B
C++
20 lines
362 B
C++
|
#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;
|
||
|
|
||
|
}
|