题型:单选题 题类:常考题 难易度:困难
浙江省杭州第二中学2015-2016学年高二上学期信息技术期末考试试卷
Private Sub Command1_Click()
Dim y As Long
Text1.Text = ""
y = f(3)
Label1.Caption = Str(y)
End Sub
Function f(n As Integer) As Long
Text1.Text = Text1.Text + Str(n)
If n <= 1 Then
f = 1
Else
f = f(n - 1) + 2
End If
End Function
程序运行时,单击命令按钮Command1后,文本框Text1中显示的内容是( )
试题篮