题解
2024-11-15 22:38:15
发布于:江苏
0阅读
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 if(n==7){
cout<<"Sunday";
}
return 0;
}
这里空空如也
有帮助,赞一个