第28748题 单选题
请问以下C++代码运行后输出的结果是什么?
#include <iostream>
using namespace std;
int main() {
    int count = 0;
    for(int i = 0; i < 3; i++){
        for(int j = 0; j < 3; j++){
            count++;
            if(j == 1){
                break;
            }
        }
    }
    cout << count;
    return 0;
}
A

3

B

6

C

9

D

0

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