算阶乘的vbs小程序时间:2022-10-10 07:28:27 dim n,ans,i n=inputbox("n(0<=n<=170)=") ans=1 for i=1 to n ans=ans*i next msgbox(ans)