阅读以下C++代码,其运行后的输出结果为?
#include <iostream>
using namespace std;
int main() {
int a = 5, b = 10;
if (a > 3 && b < 15) {
cout << "1";
} else if (a < 5 || b > 9) {
cout << "2";
} else {
cout << "3";
}
if (a = 0) {
cout << "4";
}
cout << "5";
return 0;
}
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析