求1!+2!+3!+ ······ +10!的值,并在窗体上输出

2024-11-28 04:42:33
推荐回答(1个)
回答1:

dim i as integer,f as long
f=1
for i=1 to 10
f=f*i
l=l+f
next
print l