VB编程~求s=1!+2!+3!+4!+……+10!

来源:学生学帮网 编辑:学帮网 时间:2024/06/25 00:41:10

VB编程~求s=1!+2!+3!+4!+……+10!

……
t=1
s=0
For i=1 To 10
t=t*i
s=s+t
Next i