在窗体上画一个命令按钮,其名称为Commandl,然后编写如下程序: Function Fonc(By Val x As Integer,y As InteSer) y=x*y If y>0 Then Func=X; Else Func=y End If End Function Private Sub Commandl_Click( ) Dim a As Integer,b As Integer a=3 b=4 c=Func(a,B) Print"a=";a Print"b=";b Print"C=";C End Sub 程序运行后,单击命令按钮,其输出结果为______。

题库:计算机等级考试 类型:最佳选择题 时间:2017-07-03 17:01:14 免费下载:《单选题》Word试卷

在窗体上画一个命令按钮,其名称为Commandl,然后编写如下程序: Function Fonc(By Val x As Integer,y As InteSer) y=x*y If y>0 Then Func=X; Else Func=y End If End Function Private Sub Commandl_Click( ) Dim a As Integer,b As Integer a=3 b=4 c=Func(a,B) Print"a=";a Print"b=";b Print"C=";C End Sub 程序运行后,单击命令按钮,其输出结果为______。
A.a=3 b=12 c=3
B.a=3 b=4 c=3
C.a=3 b=4 c=12
D.a=13 b=12 c=12

在窗体上画一个命令按钮,其名称为Commandl,然后编写如下程序:  Function Fonc(By Val x As Integer,y As InteS

本题关键词:出门按钮,控制按钮,X线检查程序,救助呼叫按钮,编制程序,命令型,按钮联锁式装置,按钮式保护装置,按钮式防护装置,命令标志;

微信扫码获取答案解析
下载APP查看答案解析