单选题 VB
题号 #151367

下面程序段的运行结果是 
a=1 
b=1 
Do 
a=a + 1  
b=b + 1  
Loop Until b > 5 
Print "k="; a; Spc(4) ; "b="; b + a (  )。

进入在线模考

参考答案

D

答案解析

暂无解析

你可能感兴趣的试题

A.Private Sub Command1_Click()  
n=5: x=1  
Do  
x=x * I  
I=I + 1  
Loop While I < n 
Print x  
End Sub  
B.Private Sub Command1_Click()  
n=5: x=1: I=1  
Do  
x=x * I  
I=I + 1  
Loop While I < n 
Print x  
End Sub  
C.Private Sub Command1_Click()  
n=5: x=1: I=1  
Do  
x=x * I  
I=I + 1  
Loop While I <=n 
Print x  
End Sub 
D.Private Sub Command1_Click()  
n=5: x=1: I=1  
Do  
x=x * I  
I=I + 1  
Loop While I > n 
Print x  
End Sub
找试题 · 找答案 · 找资料 在线模考