太肝了!
2023-12-30 09:52:00
发布于:广东
3阅读
0回复
0点赞
很简单,不过有点肝!
#include<bits/stdc++.h>
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;
}
这里空空如也
有帮助,赞一个