fac=1
S=0
For i=1 to 10
fac=fac*i
S=S+fac
Next
Response.Write n & "!=" & fac & "
"
Response.Write n&"!的阶乘之和为:" & S
end if