下列循环语句能正常结束的是_______。
A: i = 5Do While i > 0 i = i + 1Loop
B: i = 1Do i = i + 2Loop Until i = 10
C: i = 10Do i = i + 1Loop Until i > 0
D: i = 6Do i = i + 2Loop While i > 2
A: i = 5Do While i > 0 i = i + 1Loop
B: i = 1Do i = i + 2Loop Until i = 10
C: i = 10Do i = i + 1Loop Until i > 0
D: i = 6Do i = i + 2Loop While i > 2
举一反三
- 下列循环体能正常结束的是( )。 A: i = 5Do i = i + 1Loop Until i < 0 B: i = 1Do i = i + 2Loop Until i = 10 C: i = 10Do i = i + 1Loop Until i > 0 D: i = 6Do i = i - 2Loop Until i = 1
- 下列循环能正常结束循环的是( )。 A: i=5 Do i=i+1 Loop Until i<0 B: i=1 Do i=i+2 Loop Until i=10 C: i=10 Do i=i+1 Loop Until I>0 D: i=6 Do i=i-2 Loop Until I=1
- 下列循环能正常结束循环的是(). A: i=5<br>Do<br>i=i+1<br>Loop Until i<0 B: i=1<br>Do<br>i=i+2<br>Loop Until i=10 C: i=10<br>Do<br>i=i+1<br>Loop Until I>0 D: i=6<br>Do<br>i=i-2<br>Loop Until I=1
- 下列循环嵌套的结构中,正确的是_______。 A: For i = 2,4,6,8,10 ``` Do ``` Loop While s > 0Next B: For i = 2 To 10 ``` Do While s > 0 ``` LoopNext C: For i = 2 To 10 ``` Do While s > 0 ``` Next Loop D: For i = 2 To 10 ``` Do ``` Next Loop While s > 0
- 在下列循环中,能正常结束的是 。 A: i=5Do i=i+1Loop while i>10 B: i=1Do i=i+2Loop while i<>10 C: i=10Do i=i+1Loop while i>10 D: i=6Do i=i-2Loop while i<>1 E: i=3Do i = i mod 2Loop while i<>0