(加试题)货物搬运
平地上有两叠货物需要搬运到别处,期中一叠有a个货物,另一叠有b个货物(0<a≤5,0<b≤5)。每次只能从其中一叠搬走位于最上方的货物。小明编写了一个VB程序,用于计算搬运货物的方案数。小明请教了数学老师,得知方案数
运行界面如图所示:

随后,小明编写了如下程序段:
Private Sub calculate_Click()
Dim a As Integer
Dim b As Integer
Dim c As Long
a = Val(Text1.Text)
b = Val(Text2.Text)
c =fa(a, a + b)
_____①______End Sub
Function fa(m As Integer, n As Integer) As Long
_____②_____End Function
Function jc(x As Integer) As Long
If x = 1 Then
jc = 1
Else
jc = x *
__ ___③__ ___End If
End Function
(1)程序段Function jc部分主要采用了_______________算法;
(2)在程序画线①处应填入________________________;
在程序画线②处应填入________________________;
在程序画线③处应填入________________________。