> 其他 >
1+11+111+1111+N怎么算
人气:467 ℃ 时间:2020-03-23 15:17:13
解答
Private Function Add(Byval n As Integer) As Long
Dim Sum As Long
Sum = Sum + n
If n > 1 Then
Sum = Sum + Add(n-1)
End if
Add = Sum
End Function
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版