![]() |
#2
xzlxzlxzl2014-12-04 12:59
|
private sub command1_click()
dim m as integer , n as integer
m=1
for n = 1 to 15
m= m*n
if m >15 then
exit for
else
n=n+1
end if
next n
print m;n
end sub
程序运行后输出结果为15 7,不太明白为什么?求解释一个这个程序!