求助,求助,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个回答
--
2022-12-05 广告
2022-12-05 广告
图形化编程简单理解为用积木块形式编程,scratch和python也是其中的一种,属于入门级编程,以其简单生动的画面获得无数学生的喜爱,深圳市创客火科技有限公司是一家做教育无人机的公司,旗下有编程无人机,积木无人机及室内外编队,每款飞机含有...
点击进入详情页
本回答由--提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询