C++的解题步骤
2025-11-27 16:42:49
发布于:北京
8阅读
0回复
0点赞
我的解题步骤
#include <iostream>
#include <string>
#include <cctype>
using namespace std;
int main() {
string input;
getline(cin, input);
for (char &c : input) {
if (isupper(c)) {
c = tolower(c);
}
}
cout << input << endl;
return 0;
}
这里空空如也

有帮助,赞一个