ac
2023-08-07 19:04:22
发布于:浙江
0阅读
0回复
0点赞
|#include<cstdio>
#include<iostream>
#include<cmath>
using namespace std;
int main(){
int a;
cin >> a;
a%=7;
switch(a)
{
case 0:cout << "monday";break;
case 1:cout <<"tuesday";break;
case 2:cout << "wednesday";break;
case 3:cout <<"thursday";break;
case 4:cout << "friday";break;
case 5:cout <<"saturday";break;
case 6:cout << "sunday";break;
}
return 0;
}
这里空空如也
有帮助,赞一个