下列语句组中,不能实现循环100次的有
A: N=0
B: Do
C: N=N+1
D: Loop Until N>=100
E: N=0
F: Do
G: N=N+1
H: Loop While n<100
I: N=0
J: Do
K: N=N+1
L: Loop Until N<100
M: N=0
N: Do While n<100
O: N=N+1
P: Loop
A: N=0
B: Do
C: N=N+1
D: Loop Until N>=100
E: N=0
F: Do
G: N=N+1
H: Loop While n<100
I: N=0
J: Do
K: N=N+1
L: Loop Until N<100
M: N=0
N: Do While n<100
O: N=N+1
P: Loop
举一反三
- 下列语句中,不能实现循环100次的是 A: N=0 Do N=N+1 Loop Until N>=100 B: N=0 Do N=N+1 Loop While n<100 C: N=0 N=N+1 Do Loop Until N<100 D: N=0 Do While n<100 N=N+1 Loop
- 下列语句中,不能实现循环100次的是 A: Do B: N=N+1 C: Loop Until N>=100 D: Do E: N=N+1 F: Loop While n<100 G: Do H: N=N+1 I: Loop Until N<100 J: Do While n<100 K: N=N+1 L: Loop
- 下列语句中,不能实现循环100次的是________. A: n=0 Do n=n+1 <br>LoopUntiln>=100 B: n=0 Do n=n+1 <br>LoopWhilen<100 C: n=0 n=n+1 Do <br>LoopUntiln<100 D: n=0 DoWhilen<100 n=n+1 <br>Loop
- 中国大学MOOC: 下面代码执行后,变量s的值为______。 Dim i, n As Integer, s As String i = 2 : n = 12 : s = n & = Do Until n = 1 Do While n Mod i = 0 s &= i & * n = n i Loop i += 1 Loop s = Strings.Left(s, Len(s) - 1)
- 下列VBA程序段的执行结果为_______________。 X1=1 X2=1 N=0 Do While N<5 X1=X1+X2 X2=X1+X2 N=N+1 Loop Debug.Print X1;X2