当前位置:
首页->
智慧树网课答案问答
->
假定有如下的Sub过程: Sub fun(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 = 6 b = 4 fun a, b Print a, b
题目
假定有如下的Sub过程: Sub fun(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 = 6 b = 4 fun a, b Print a, b