有如下函数过程:Functionsecproc(xAsInteger,yAsInteger,zAsInteger)secproc=3*yz2*xEndFunctionPrivateSubCommand1_Click()DimaAsInteger,bAsInteger,cAsIntegera=2:b=3:c=4Printsecproc(c,b,a)EndSub该程序的运行结果是()。
举一反三
- 执行下面的程序,输出结果是___________。PrivateSubCommand1_Click()DimaAsInteger,bAsInteger,cAsIntegera=3b=4c=5Printf2(c,b,a)EndSubPrivateFunctionf1(xAsInteger,yAsInteger,zAsInteger)f1=2*x+y+3*zPrintf1;EndFunctionPrivateFunctionf2(xAsInteger,yAsInteger,zAsInteger)f2=f1(z,x,y)+xPrintf2;EndFunction
- 有如下函数过程:Functionsecproc(xAsInteger,yAsIn...a)EndSub该程序的运行结果是()。
- 有如下函数过程: Function secproc(x As Integer, y As Integer, z As Integer) secproc = 3 * y + z + 2 * x End Function Private Sub Command1_Click() Dim a As Integer, b As Integer, c As Integer a = 2: b = 3: c = 4 Print secproc(c, b, a) End Sub 该程序的运行结果是( )。
- 有以下程序[img=575x170]18033fe11ecd767.png[/img]程序的运行结果是( ) A: 2 3 4 4 B: 4 3 3 2 C: 1 2 3 4 D: 1 1 2 3
- 有以下程序:[img=531x159]162ae57cee72b76.png[/img]程序的运行结果是 A: 1 2 3 4 B: 2 3 4 4 C: 4 3 3 2 D: 1 1 2 3