结合给定的C++统计字符次数代码,当输出为3时,横线上不能填入的代码是哪个?
string str="GESP is a good programming test!";
int x=0;
for(int i=0;i<str.length();i++)
{
if(__________)
{
x++;
}
}
cout<<x<<endl;
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析