真三国无双猛将传秘武:救命!一道Visual FoxPro的编程题

来源:百度文库 编辑:神马品牌网 时间:2024/04/29 11:16:26
1!+2!+3!+4!…10!
怎么编程计算啊??

set talk off
clear
之后呢???

谢谢各位!!!!!

sum=0
for i=1 to 10
mut=1
for j=1 to i
mut=mut*j
endf
sum=sum+mut
endf

? sum