题解
2023-08-15 01:43:43
发布于:广东
1阅读
0回复
0点赞
#include<iostream>
using namespace std;
int main()
{
int n;
cin >> n;
if(n==1)
cout << "Monday";
else if(n==2)
cout << "Tuesday";
else if(n==3)
cout << "Wednesday";
else if(n==4)
cout << "Thursday";
else if(n==5)
cout << "Friday";
else if(n==6)
cout << "Saturday";
else
cout << "Sunday";
return 0;
}
这里空空如也
有帮助,赞一个