第30061题 单选题
以下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 == 10) {
        cout << "2";
    } else {
        cout << "3";
    }
    return 0;
}
A

1

B

2

C

3

D

编译报错

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