首页 / 客观题库
下面的程序运行后,会进入死循环,无法正常结束。
#include <iostream>
using namespace std;
int main() {
int a = 5;
while (a > 0) {
if (a % 2 == 0) {
cout << a << " ";
} else {
a--;
continue;
}
a -= 2;
return 0;
✔ 正确
✘ 错误
18213408360
密码必须包含数字、字母和特殊字符
错误.in文件下载
错误.out文件下载