填空题

下列程序的功能是:单击窗体时将求出随机生成的10个两位数中的最大数及其下标,请填空。 Option Base 1 Private Sub Form_Click() Dim a(10) As Integer,i As Integer Dim max As Integer,max_i As Integer Randomize For i=1 To 10 a(i)= 【12】 Next i max=a(1):max_i=1 For i=1 To 10 If 【13】 Then max=a(i) max_i=i End If Next i Print max,max_i End Sub

【参考答案】

[12]Int(90*Rnd)+10[13]max<a(i)