更多"int i=0;do i++;while(i<"的相关试题:
[单项选择]int i=0;do i++;while(i*i<10);这个do循环语句中,其循环体被执行的次数为()。
A. 4
B. 3
C. 5
D. 2
[单项选择]int i=0,s=0;while(s<20){i++;s+=i;}在这个的while循环语句中,其循环体被执行的次数为()。
A. 4
B. 5
C. 6
D. 7
[单项选择]下列while循环的次数是( )。 while(int i=0)i--;
A. 0
B. 1
C. 5
D. 无限
[单项选择]设有下面的循环: i=0 While i<=1 i=i + 3 Print i Wend则运行后的输出结果是
A. 1
B. 2
C. 3
D. 4
[单项选择]设有下面的循环:
i=0
While i<=1
i=i + 3
Print i
Wend
则运行后的输出结果是( )。
A. ab
B. abc
C. abd
D. abcd
[单项选择]有如下程序段:
int i=5;
while(int i=0){ cout<<'*';i- -;)
运行时输出“*”的个数是
A. 0
B. 1
C. 5
D. 无穷
[单项选择]I fell and hurt myself while I()basketball yesterday.
A. was playing
B. am playing
C. play
D. played
[单项选择]While I was in the university, I learned taking a photo,()is very useful now for me.
A. it
B. which
C. that
D. what
[单项选择]执行语句序列 int i=0;while(i<25)i+=3;cout<<i; 输出结果是
A. 24
B. 25
C. 27
D. 28
[单项选择]I can ______ some noise while I'm studying, but I can't stand loud noises.
A. come up with
B. catch up with
C. put up with
D. keep up with
[单项选择]执行下列语句序列: int i=0;while(i<25)i+=3;cout<<i; 输出结果是( )。
A. 24
B. 25
C. 27
D. 28
[单项选择]I slipped and fell while I______.
[单项选择]下面的while循环执行了()次空语句。while(i=3);
A. 无限次
B. 0次
C. 1次
D. 2次