如下 C++ 代码执⾏其输出是 3。
int count = 0;
int i = 0;
while (i < 3) {
int j = 0;
while (j < 3) {
if (i + j >= 3)
count += 1;
j += 1;
}
i += 1;
}
cout << count; 如下 C++ 代码执⾏其输出是 3。
int count = 0;
int i = 0;
while (i < 3) {
int j = 0;
while (j < 3) {
if (i + j >= 3)
count += 1;
j += 1;
}
i += 1;
}
cout << count;