运行如下程序后,输出结果为______。Dim i As Integer, y As IntegerFor i = 3 To 15 Step 2y = y + ii = i + 2Next iPrint i; y
查看答案
运行如下程序后,输出结果为________。For m = 1 To 5a = 0For j = 1 To 5a = 1For k = 1 To 5a = a + 3Next kNext jNext mPrint a
执行下面的程序段,文本框Text1中显示的是_______。Dim i As Integer, j As Integeri = 1Do While i < 30j = i + ji = i * (i +3)LoopText1.Text = j
执行下面的程序段,输出结果是_________。Dim str1 As String, str2 As Stringstr1 = "abc"str1 = UCase(str1)For i = 1 To 3str2 = Chr(Asc(str1) + i)str1 = str1 & str2Next iPrint str1
下面程序段中,在窗体上显示的结果为________。Private Sub Command1_Click()Dim b As Integer, k As Integerb = 1For k = 1 To 6b = b * kIf b >= 20 ThenExit ForElsek = k + 3End IfNext kPrint k, bEnd Sub