vb编写程序,求10∑n!n=1

如题所述

Private Sub Command1_Click()Dim n As Integern = Val(InputBox("亲输入一个大于零的整数", "提示"))Dim Term As LongTerm = 1For i = 1 To nTerm = Term * iNext iPrint TermEnd Sub
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答
大家正在搜