用VB怎样求n的阶乘和
用VB怎样求n的阶乘和
日期:2016-07-02 23:04:17 人气:1
Public Function jiecheng(ByVal n As Integer) As Integer Dim jc As Integer = 1 For i = 1 To n jc = jc * i Next Return jc End Function
用VB怎样求n的阶乘和