在窗体上画 1 个命令按钮,其名称为 Command1,然后编写如下程序:Private Sub Command1_Click() Dim a(10) As IntegerDim x As IntegerFor i=1 To 10a(i)=8+i Next x=2Print a(f(x)+x) End SubFunction f(x As Integer)x=x+3f=xEnd Function程序运行后,单击命令按钮,输出结果为______。
单选题
在窗体上画 1 个命令按钮,其名称为 Command1,然后编写如下程序:Private Sub Command1_Click() Dim a(10) As IntegerDim x As IntegerFor i=1 To 10a(i)=8+i Next x=2Print a(f(x)+x) End SubFunction f(x As Integer)x=x+3f=xEnd Function程序运行后,单击命令按钮,输出结果为______。