题目内容:
已知字母的ASCIl码是65,在窗体上画一个命令按钮,编写如下代码:Private Sub Commandl_Click()
a=65
C=“M”
Temp=C
Fori=1 T0 3
Print Tab(4一i);temp
Temp=Chr(A.+temp+Chr(A.
a=a+1
Next i
End Sub
程序运行后,单击命令按钮,则输出结果为 A.M
AMA
BAMAB
B.M
AMA
BAMBA
C.M
AMA
ABMBA
D.M
AMA
ABMAB
参考答案:
答案解析: