c++
2026-09-13 13:11:37
发布于:湖北
0阅读
0回复
0点赞
#include <iostream>
using namespace std;
int main(){
char ch;
cin >> ch;
switch(ch) {
case 'y':
case 'Y':
cout << "Yes";
break;
case 'n':
case 'N':
cout << "No";
break;
}
return 0;
}
这里空空如也
2026-09-13 13:11:37
发布于:湖北
#include <iostream>
using namespace std;
int main(){
char ch;
cin >> ch;
switch(ch) {
case 'y':
case 'Y':
cout << "Yes";
break;
case 'n':
case 'N':
cout << "No";
break;
}
return 0;
}
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个