单选题

下方while循环程序,共循环(    )次。

#include <iostream>

using namespace std;

 

int main (){

   int a = 10;

   

   while( a < 20 )

   {

       cout << "a 的值:" << a << endl;

       a++;

   }

 

   return 0;

}

A

无限次

B

10次

C

20次

D

不满足条件,跳过循环

赣ICP备20007335号-2