下面是循环结构的是()。
A.do…while
B.while
C.for…
D.if
E.return
A.do…while
B.while
C.for…
D.if
E.return
第3题
第5题
A.t=1; while(t--) {cout<<t++;}
B.t=1; do{cout<<t; t++;} while(--t);
C.for(t=1; ; t++) cout<<t;
D.for(t=0; t; t++) cout<<t;
第6题
#include<stdio.h> main() {long int num; scanf("%ld",&num); do { if(【 】 ) printf("%ld",num); scanf("%ld",&num); }while(!num==0);}
A.num/100%10==3
B.num/10%10==3
C.num%100/10==3
D.num%10/10==3
第7题
B.do…while语句编写程序较为复杂
C.do…while循环是先执行循环体,后判定条件表达式是否成立,而while语句是先判定条件表达式,再决定是否执行循环体
D.无论条件是否成立,while语句都要执行一次循环体
第8题
She will do whatever she has decided to do, ___the others say.
A. it does not matter what
B. it matters what
C. no matter what
D. no matter how
第10题
The boys threw stones at Mr. Flowers' notice because ______.
A. they wanted to do what they were told not to do
B. the notice was closer to the path
C. they hated to see the notice
D. the notice was in the way
第11题
A.IF…ELSE…ENDIF
B.DO WHILE…ENDDO
C.DO CASE…ENDCASE
D.CONTINUE