题目内容

在窗体上画一个命令按钮,名称为Command1,然后编写如下事件过程:Private Sub Command1_Click()Dim i As Integer, x As IntegerFor i = 1 To 6If i = 1 Then x = iIf i <= 4 Thenx = x + 1Elsex = x + 2End IfNext iPrint xEnd Sub程序运行后,单击命令按钮,其输出结果为()。

A. 9
B. 6
C. 12
D. 15

查看答案
更多问题

执行下面的程序段后,x的值为()。x=5For i=1 To 20 Step 2x=x+i\5Next i

A. 21
B. 22
C. 23
D. 24

执行以下程序段a$="abbacddcba"For i=6 To 2 Step -2X=Mid(a,i,i)Y=Left(a,i)z=Right(a,i)z=UCase(X & Y & z)Next IPrint z输出结果为()。

ABA
BBABBA
C. ABBABA
D. AABAAB

The adjective form for term “muscle” is ____.

The adjective form for term “fascia” is ____.

答案查题题库