【单选题】假定有如下的Sub过程:Sub Sub1 (x As Single, y As Single) t=x x = t/y y = t Mod yEnd Sub 在窗体上画一个命令按钮,然后编写如下事件过程:Private Sub Command1_ Click() Dim a As Single Dim b As Single a = 5 b = 4 Sub1 a, b Print a b End ...
【单选题】若有如下Sub过程: Subsfun(X As Single,y As Single) t=X x=t/Y y=t ModY End Sub 在窗体中添加一个命令按钮Command33,对应的事件过程如下: PrivateSub Command33 Click( ) Dim a AsSingle Dim b AsSingle a=5:b=4 sfun(a'b) MsgBoxa&chr(10)+ch...
【单选题】假定有如下的Sub过程: Sub Sub1(x As Single,y As single) t=x x=t/y y=t Mod y End Sub 在窗体上画一个命令按钮,然后编写如下事件过程: Private Sub Command1_click() Dim a As Single Dim b As Single a=5 b=4 Sub1 a,b Print a;b End Sub 程序运行后...
【单选题】假定有如下的Sub过程: Sub Sub1(x As Single, y As single) t=x x=t / y y=t Mod y End Sub 在窗体上画一个命令按钮,然后编写如下事件过程: Private Sub Command1_Click() Dim a As Single Dim b As Single a=5 b=4 Sub1 a,b Print ab End Sub 程序运...