1
2023-07-18 13:50:35
发布于:浙江
0阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
int n,s=0;
cin>>n;
n=n%7;
s=1+n;
if(s1){
cout<<"monday";
}else if(s2){
cout<<"tuesday";
}else if(s3){
cout<<"wednesday";
}else if(s4){
cout<<"thursday";
}else if(s5){
cout<<"friday";
}else if(s6){
cout<<"saturday";
}else{
cout<<"sunday";
}
}
这里空空如也
有帮助,赞一个