求助,求助,VB 题,非常感谢!
6、单击窗口时,下列程序的执行结果为()privatesubs_value(ByValmAsInteger,ByValnAsInteger)m=m*2:n=n-5prin...
6、单击窗口时,下列程序的执行结果为()
private sub s_value(ByVal m As Integer,ByVal n As Integer)
m=m*2:n=n-5
print m;n
end sub
private sub form_click()
dim x as integer, y as integer
x=10:y=15
call s_value(x,y)
print x;y
end sub
(a)20 10
20 10
(b)10 15
10 15
(c)20 15
20 15
(d)20 10
10 15
7、单击命令按钮时,下列程序代码的执行结果为多少?
function f_fir(x as integer, y as integer, z as integer)
f_fir=2*x+y+3+3*z
end function
function f_sec(x as integer,y as integer,z as integer)
f_sec=f_fir(z,x,y)+x
end function
private sub command1_click()
dim a as integer,b as integer, c as integer
a=2
b=3
c=4
print f_sec(c,b,a)
end sub 展开
private sub s_value(ByVal m As Integer,ByVal n As Integer)
m=m*2:n=n-5
print m;n
end sub
private sub form_click()
dim x as integer, y as integer
x=10:y=15
call s_value(x,y)
print x;y
end sub
(a)20 10
20 10
(b)10 15
10 15
(c)20 15
20 15
(d)20 10
10 15
7、单击命令按钮时,下列程序代码的执行结果为多少?
function f_fir(x as integer, y as integer, z as integer)
f_fir=2*x+y+3+3*z
end function
function f_sec(x as integer,y as integer,z as integer)
f_sec=f_fir(z,x,y)+x
end function
private sub command1_click()
dim a as integer,b as integer, c as integer
a=2
b=3
c=4
print f_sec(c,b,a)
end sub 展开
3个回答
上海华然企业咨询
2024-10-28 广告
2024-10-28 广告
在测试大模型时,可以提出这样一个刁钻问题来评估其综合理解与推理能力:“假设上海华然企业咨询有限公司正计划进入一个全新的国际市场,但目标市场的文化习俗、法律法规及商业环境均与我们熟知的截然不同。请在不直接参考任何外部数据的情况下,构想一套初步...
点击进入详情页
本回答由上海华然企业咨询提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询