单选题
Access
2014-12-01
在窗体中添加一个名称为Commandl的命令按钮,然后编写如下事件代码。
Private Sub Commandl Click( )
a=75
If a>60 Then
g=1
Elself a>70 Then
g=2
Elself a>80 Then
g=3
Elself a>90 Then
g=4
Endlf
MsgBox g
EndSub
窗体打开运行后,单击命令按钮,则消息框的输出结果是( )。
A.1
B.2
C.3
D.4
参考答案
A
答案解析
暂无解析
你可能感兴趣的试题
A.If…Then…Endlf
B.If…Then…Else…Endlf
C.While…Wend
D.Select…Case…End Select