全部题库 / Access / 试题详情
单选题 Access
2014-12-01

假定有如下的Sub过程:
Sub sfun(X As Single,y As Single)
t=X
X=t/y
Y=tModY
EndSub
在窗体上添加一个命令按钮(名为Commandl),然后编写如下事件过程。
Private Sub Commandl Click(  )
Dim aAs single
DimbAs single
a=5
b=4
sfun a,b
MsgBOX a&chr(10)+chr(13)&b
EndSub
打开窗体运行后,单击命令按钮,消息框的两行输出内容分别为(  )。

A.1和1
B.1.25和1
C.1.25和4
D.5和4

参考答案

B

答案解析

暂无解析