VB程序设计题。 下列代码是计算n!的函数,请将程序中横线上的内容补充完整。 Fun
题型:问答题
问题:
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
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