第30071题 单选题
阅读以下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;
}
A

15

B

145

C

25

D

245

程序运行统计
暂无判题统计
提交0次 正确率0.00%
答案解析