在下列C++代码的横线处填写哪项,可使得输出为`GESP IS INTERESTING`?
int main()
{
string str="gEsP is Interesting";
int x = str.length();
for(int i = 0; i < x; i++)
if ((str[i]>='a') && (str[i]<='z'))
_________________________;
cout << str << endl;
cout << endl;
return 0;
}
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析