【单选题】有下列Sub过程: Sub Sun(x As Single,y As Single) t=x x=t/y y=t Mody End Sub 在窗体上的命令按钮Command1中,编写下列事件过程,执行该事件过程调用Sun过程,结果是( )。 Private Sub Conunandl Cliek() Dim a As Single Dim b As Single a=5 b=4 Sun a,b P...
【简答题】有如下SUB过程: Sub s(x As Single,y As Single) t=x x=t / y y=t Mod y End Sub 在窗体上添加一个命令按钮,然后编写如下事件过程: Private Sub Form_Click() Dim a As Single Dim b As Single a=5 b=4 s a,b Print a,b End Sub 则程序运行后,单击命令按钮,输...
【单选题】假定有如下的Sub过程: Sub S(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 S a,b Print a,b End Sub 程序运行后,单击命令按...