【单选题】下面程序段运行结果是( ) Function fun(x As Integer, y As Integer) As Integer x = x + y If x 0 Then fun = x Else fun = y End If End Function Private Sub Command1_Click() Dim a As Integer, b As Integer a = 2: ...
【单选题】在窗体上面一个命令按钮,其名称为Command1,然后编写如下程序: Function Func(ByVal x As Integer,y As Integer) y=x*y If y>0 Then Func=x Else Func=y End If End Function Private Sub Command1_Click() Dim a As Integer,b As Integer a=...