填空题

执行下列程序,输入框中显示的默认字符串为 【11】 ; Pirate Sub Command 1_Click() InputBox"ok","输入参数",Format("&H12") End Sub

【参考答案】

R
<上一题 目录 下一题>
热门 试题

填空题
阅读下列程序Option Base 1Private Sub Form_Click()Dim x(3,3)For j=1 to 3For k=1 to 3If j=k then x (j,k)=1If j<>k then x(j,k)=kNext kNext jCall fun(x())End SubPrivate Sub fun(x())For j=1 to 3Fork-1 to 3Print x(j,k)Next kNext jEnd Sub运行程序时,输出结果为 【13】 。
填空题
阅读下面程序Private Function a (load As Integer)As SingleIf loud<20 thenmoney=lnad 2elsemoney=20+loadend ifa=moneyEnd FunctionPrivate Sub Form_Click()Dim load As Integer,fee As SingleLoad=InputBox( 请输入一个数: )Fee=a(load) Print feeEnd Sub 运行后的输出结果是 【12】 。
相关试题
  • 设a=6,则执行x=IIf(a>5,-1,0)...
  • 下面程序段的运行结果是 【14】 。Opti...