【单选题】假定有如下的Sub过程: Sub sfun(x As Single,y As Single) t=x x=t/y y=t Mod y End Sub 在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程: Private Sub Command1_Click() Dim a As Single Dim b As single a=5 b=4 sfun a,b MsgBox a &...
【单选题】假定有如下的Sub过程: Sub sfun(x As Single,y As SinglE)t=x x=t/y y=t Mod y End Sub 在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程: Private Sub Command1_Click( ) Dim a as single Dim b as single a=5 b=4 sfun a,b MsgBox a &...
【单选题】假定有如下的Sub过程: sub sfun(x As Single, y As Single. t=x x=t/y y=t Mod y End Sub 在窗体上添加一个命令按钮(名为Command1.,然后编写如下事件过程: Private Sub Command1_Click(. Dim a as single Dim b as single a=5 b=4 sfun(a,b. MsgBox a...
【单选题】假定有如下的Sub过程: sub sfun(x As Single,y As Single) t=x x=t/y y=t Mod y End Sub 在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程: Private Sub Command1_Click() Dim a as single Dim b as single a=5 b=4 sfun a,b MsgBox a &...
【单选题】假定有如下的Sub过程: Sub sfun(X As Single,Y As Single)t=Xx=t/yY=tModYEnd Sub在窗体上添加一个命令按钮(名为Commandl),然后编写如下事件过程: Private Sub Commandl_Click() Dim aAs singleDimbAs singlea=5b=4sfun a,bMsgBox a&;chr(10)+chr(131...
【单选题】假定有如下的Sub过程: Sub sfun(x As Single,y As Single) t=x x=t/y y=t Mod y End Sub 在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程: Private Sub Command1_Click() Dim a As single Dim b As single a=5 b=4 sfun a,b MsgBox a &...