dim i as Integer,n as Integer,Ret as Integer
n = Val(InputBox("请输入n:"))
Ret =1
For i = 1 to n
Ret = Ret * i
Next i
Print Ret