下面程序的执行结果是______。Private Sub Command1_Click()a = 0k = 1Do While k < 6x = k ^ k ^ ak = k + 1Print x;LoopEnd Sub
查看答案
编写如下程序:Private Sub Command1_Click()Dim x As Integer, y As Integerx = 1y = 1Doy = x * yIf y > 10 ThenExit DoElsex = x + 2End IfLoop Until x <= 10Print x; yEnd Sub程序运行后,单击命令按钮Command1,输出结果为______。
编写如下程序:Private Sub Command1_Click()Dim x As Integer, y As Integerx = 1: y = 1Doy = x * yIf y > 10 ThenPrint x, yExit DoElsex = x + 3End IfLoop While x <= 10End Sub运行程序,输出结果为______。
窗体上有一个名为Command1的命令按钮,编写如下事件过程:Private Sub Command1_Click()i = 0Do While i < 8For j = 1 To in = n + 1Nexti = i + 1LoopPrint nEnd Sub运行程序,单击命令按钮,则输出结果是______。
有如下程序:Private Sub Form_Click()Dim s As Integer, p As Integerp = 1For i = 1 To 5For j = 1 To is = s + jNext jp = p * sNext iPrint pEnd Sub程序运行后,单击窗体,则输出结果是______。