单项选择题

现有如下程序:
Private Sub Command1_Click()
s=0
Fori=1 To 6
s=s+f(5+i)
Next
Print s
End Sub
Public Function f(x As Integer)
If x>=8 Then
t=x+2
Else
t=x+1
End If
f=t
End Function
运行程序,则窗体上显示的是______。

A) 38
B) 49
C) 61
D) 70
相关试题