阅读程序: Function Fun( a As Integer) Static c b=0:b=b+2:c=c+2 F=a*b*c End Function Private Sub Commandl _ Click( ) Dim a As Integer a=2 For i = 1 To 2 Print Fun (a); Next End Sub 运行上面的程序,单击命令按钮,输出结果为A.8 16B.9 18C.10 20D.7 14

阅读程序: Function Fun( a As Integer) Static c b=0:b=b+2:c=c+2 F=a*b*c End Function Private Sub Commandl _ Click( ) Dim a As Integer a=2 For i = 1 To 2 Print Fun (a); Next End Sub 运行上面的程序,单击命令按钮,输出结果为

A.8 16

B.9 18

C.10 20

D.7 14


相关考题:

阅读程序: Function Fun(a As Integer) Static C b=0:b=b+2:c=c+2 F=a*b*c End Function Private Sub Command1_Click() Dim a As Integer a=2 For i=1 To 2 Print Fun(A) ; Next End Sub 运行上面的程序,单击命令按钮,输出结果为A.8 16B.9 18C.10 20D.7 14

下列静态路由配置正确的是()。A.ip route-static 129.1.0.0 16 serial 0B.ip route-static 10.0.0.2 16 129.1.0.0C.ip route-static 129.1.0.0 16 10.0.0.2D.ip route-static 129.1.0.0 255.255.0.0 10.0.0.2

阅读程序:Function Fun(a As Integer)Static c,b=0:b=b+2:c=c+2F=a*b*cEnd FunctionPrivate Sub Command1_Click()Dim a As Integera=2For i=1 To 2Print Fun(A);NextEnd Sub运行上面的程序,单击命令按钮,输出结果为A.8 16B.9 18C.10 20D.7 14

阅读程序: Function F(a As-Integer) b=0 Static c b=b+1 c=c+1 F=a+b+c End Function Private Sub Command1_Click() Dim a As Integer a=2 For i=1 To 3 Prim F(A)Next i End Sub 运行上面的程序,单击命令按钮,输出结果为 ______。A.4 4 4B.4 5 6C.4 6 8D.4 7 9

下列静态路由配置正确的是()A.ip route-static 129.1.0.0 16 serial 0B.ip route-static 10.0.0.2 16 129.1.0.0C.ip route-static 129.1.0.0 16 10.0.0.2D.ip route-static 129.1.0.0.255.255.0.0 10.0.0.2

下列静态路由配置正确的是()A.ip route-static 129.1.0.0 16 serial 0B.ip route-static 10.0.0.2 16 129.1.0.0C.ip route-static 129.1.0.0 16 10.0.0.2D.ip route-static 129.1.0.0 255.255.0.0 10.0.0.2

(会面问题) 甲、乙二人约定八点到九点在某地会面, 先到者等20分钟离去, 试求两人能会面的概率. 输入R程序 n=c(100,1000,5000,10000) fun0306=function(x){ sum(abs(runif(x,0,60)-runif(x,0,60))<=20) } y=sapply(n,fun) rbind(y,y/n)

下列静态路由配置正确的是()。A.ip route-static 129.1.0.0 16 serial 0B.ip route-static 10.0.0.2 16 129.1.0.0C.ip route-static 129.1.0.0 16 10.0.0.2D.ip route-static 129.1.0.0 255.255.0.0 10.0.0.2

定义函数:double fun() { ...... },下列调用正确的语句是()。A.int x = fun();B.float x = fun();C.double x = fun();D.double x = function();