用了字符串组解
2023-08-18 18:11:18
发布于:广东
0阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main()
{
string day[7]={"Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"};
int n;
cin >> n;
cout << day[n-1];
}
这里空空如也
有帮助,赞一个