题型:单选题 题类:常考题 难易度:普通
浙江省瑞安市上海新纪元高级中学2019-2020学年高二下学期信息技术期末考试试卷
Private Sub Command1_Click()
Dim s As Integer, b As Integer
s = 0: b = a(1) + 1
For i = 2 To n
Next i
Label1.Caption = Str(s)
End Sub
Function max(x As Integer, y As Integer)
If x > y Then Else
End Function
方框中的代码由以下四部分组成:
①max = y ②max = x ③b = max(b, a(i) + i) ④s = max(s, a(i) - i + b)
代码顺序正确的是( )
试题篮