private sub form_click() Dim c as integer,j as integer, k as integer k=2 c=3 for j=1 to 5 if j>3 th
privatesubform_click()Dimcasinteger,jasinteger,kasintegerk=2c=3forj=1to5ifj>3thenc=c+...
private sub form_click()
Dim c as integer,j as integer, k as integer
k=2
c=3
for j=1 to 5
if j>3 then
c=c+5
exit for
else
k=k+5
end if
next j
print c,k
end sub
写出程序运行时单击窗体后,form1 上的输出结果 展开
Dim c as integer,j as integer, k as integer
k=2
c=3
for j=1 to 5
if j>3 then
c=c+5
exit for
else
k=k+5
end if
next j
print c,k
end sub
写出程序运行时单击窗体后,form1 上的输出结果 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询