Dim a( 1 To 10) As Integer
Function Search(L As Integer, R As Integer)
As Integer
M=(L+R)\2
If a(M) <a(M-1) And a(M) >a(M+1) Then
①
ElseIf a(M) >a(M-1) And a(M) >a(M+1) Then
②
ElseIf a(M) >a(M-1) And a(M) <a(M+1) Then
③
End If
End Function
Private Sub Command 1 click()
Label 1.caption=““峰顶”值是:” +Str(Search (1,10))
End Sub
上述程序中划线处可选语句为:
①Search=Search(M+1,R)
②Search=Search(L,M-1)
③Search=a(M)
则①②③处的语句依次是( )