题目内容
设有如下程序代码:Private Function Fib(ByVal n As Integer) As IntegerIf n <= 2 ThenFib = 1ElseFib = Fib(n - 1) + Fib(n - 2)End IfEnd FunctionPrivate Sub Command1_Click()Dim m As Integerm = 8Form1.Print Fib(m)End Sub程序时单击命令按钮,在窗体上输出的结果为( )。
查看答案
搜索结果不匹配?点我反馈