You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
756 B
36 lines
756 B
#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;
|
|
}
|