测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A61354. #include <iostream>using namespace std;int main() {int i = 100, x = 0, y = 0;while (i > 0) {i--;x = i % 8;if (x == 1)y++;}cout << y << endl;return 0;}输出:_________

填空题

题目描述

#include <iostream>

using namespace std;

int main() {

int i = 100, x = 0, y = 0;

while (i > 0) {

i--;

x = i % 8;

if (x == 1)

y++;

}

cout << y << endl;

return 0;

}

输出:_________