【程序填空】 题号: 7976 '功能:从键盘输入一个正整数n,计算1!+2!+3!+......+n!的和。 ' '------------------------------------------------- Private Sub fac(n As Integer) Dim i As Integer, temp As Long, sum As Long temp = 1: sum = 0 For i = 1 To n temp = temp * i '**********Fill********** ______________ Next i Cls '**********Fill********** Print: Print "1!+ ......+" & n & "!="; __________ End Sub Private Sub Form_Click() Dim n As Integer n = Val(InputBox(" 请输入一个正整数 ")) '**********Fill********** Call ____________ End Sub