问题 问答题

VB程序设计题。 下列代码是计算n!的函数,请将程序中横线上的内容补充完整。 Function fact (n As Integer) As Long Dim i As Integer Dim s As Long s= () For i = 1 to n s= () Next i fact= s End Function

答案

参考答案:

1 s*i

选择题
解答题