9999热视频三级毛片AV区|日韩欧美精品狼友观看视频|av在线成人免费AA片|日韩三级AV电影|久久亚洲私人国产精品vA|亚洲无码卡一卡二卡三|手机在线免费看黄色片|婷婷尹人在线婷婷五月手机网|99爱在线播放|欧美成人色情视频品

math.vbs 自然數(shù)n的n次方的的和或積的級數(shù)
來源:易賢網(wǎng) 閱讀:1983 次 日期:2016-07-18 13:55:44
溫馨提示:易賢網(wǎng)小編為您整理了“math.vbs 自然數(shù)n的n次方的的和或積的級數(shù)”,方便廣大網(wǎng)友查閱!

通項為自然數(shù)n的n次方的的和或積的級數(shù),求和或積的表達式。

代碼如下:

dim n,m

n=inputbox("input a number:","recursion")

m=factorial ( n )

if n<0 then msgbox "must be input a number bigger 0."

elseif n=0 then msgbox "0"&"!"&"is:"&"0"

elseif n>0 then msgbox n&"is:"&m

rem how to done not input and press sure case.

end if

Function Factorial (N)

If N <= 1 Then Factorial = 1

Else Factorial = Factorial(N - 1)*n^n

End If

End Function

更多信息請查看腳本欄目
易賢網(wǎng)手機網(wǎng)站地址:math.vbs 自然數(shù)n的n次方的的和或積的級數(shù)
由于各方面情況的不斷調(diào)整與變化,易賢網(wǎng)提供的所有考試信息和咨詢回復(fù)僅供參考,敬請考生以權(quán)威部門公布的正式信息和咨詢?yōu)闇?zhǔn)!
關(guān)于我們 | 聯(lián)系我們 | 人才招聘 | 網(wǎng)站聲明 | 網(wǎng)站幫助 | 非正式的簡要咨詢 | 簡要咨詢須知 | 新媒體/短視頻平臺 | 手機站點

版權(quán)所有:易賢網(wǎng)