'commit'
This commit is contained in:
35
TangDou/XiTi/1033.cpp
Normal file
35
TangDou/XiTi/1033.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int n;
|
||||
cin >> n;
|
||||
switch (n) {
|
||||
case 1:
|
||||
cout << "Monday" << endl;
|
||||
break;
|
||||
case 2:
|
||||
cout << "Tuesday" << endl;
|
||||
break;
|
||||
case 3:
|
||||
cout << "Wednesday" << endl;
|
||||
break;
|
||||
case 4:
|
||||
cout << "Thursday" << endl;
|
||||
break;
|
||||
case 5:
|
||||
cout << "Friday" << endl;
|
||||
break;
|
||||
case 6:
|
||||
cout << "Sunday" << endl;
|
||||
break;
|
||||
case 7:
|
||||
cout << "Monday" << endl;
|
||||
break;
|
||||
default:
|
||||
cout << "Input error" << endl;
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user