[请教]程序结果无法print?
一个求水仙花数的程序dim a,b,c,i as integer
for i=100 to 999
a=(i-b*10-c)/100
b=(i-a*100-c)/10
c=i-a*100-b*10
if i = a^3+b^3+c^3 then
print i
end if
next i
为何i 无法被print出来?
即使我设置了结果显示在textbox,但是依然无法显示,为何?
我用的是 2005, xp sp2
2008-09-01 20:28