测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A36772. 执行以下程序,共打印( )次"内循环"。 #include<iostream>using namespace std;void main() { int a =0; for (int i = 0; i < 5; i++) { cout <<"外循环"<< endl; for (int j = 0; j < 5; j++) { cout <<"内循环"<< endl; } } cout << a …

单选题 中等

题目描述

执行以下程序,共打印( )次"内循环"。 

#include<iostream>

using namespace std;

void main() {

int a =0;

    for (int i = 0; i < 5; i++)

    {

    cout <<"外循环"<< endl;

        for (int j = 0; j < 5; j++)

        {

            cout <<"内循环"<< endl;

        }

    }   

    cout << a << endl;

}

选项(单选)

上一题 下一题