下面程序段的运行结果为________。Dim s As Integer, i As Integeri = 1: s = 1Doi =i + sLoop Until s >20Print i, s
A. 21 1
B. 20 1
C. 溢出
D. 21 20
查看答案
下面程序段的运行结果为________。For i=1 To 5n=1For j=1 To in=n*jNext jPrint n;Next i
执行以下语句后,k的值为_____。Dim i As SingleFor i = 0.45 To 2 Step 0.5k = k + 3Next iPrint i;k
有程序段如下:For i = 1 To 5For j = 5 Toi Step -1Print i * jNext jNext i其中"Print i*j"语句执行的次数为_________。
下面程序运行后,单击command1后屏幕显示是_________。Private Sub command1_click()For i = 1 To 5If i > 3 Then Exit ForNext iFor j = 1 To 8i =i + jNext jPrint i, jEnd Sub