参考代码
Dim n As Integer = 20Dim m As Integer = 5Dim A As Double = 1For i As Integer = n To n-m+1 Step -1 output.show(i) A = A * iNextDim mm As Double = 1For i As Integer = m To 1 Step -1 output.show(i) mm = mm * iNext
dim C as double = A / mmmsgbox(c)