以下程序的功能是随机产生10个两位的整数: Option Base 1 Private Sub Command1_Click() Dim a(10) As Integer Dim i As Integer Randomize For i = 1 To 10a(i) = Int(Rnd * 100) + 1Print a(i) Next i End Sub 运行以上程序,发现有错误,需要对产生随机数
单选题
以下程序的功能是随机产生10个两位的整数: Option Base 1 Private Sub Command1_Click() Dim a(10) As Integer Dim i As Integer Randomize For i = 1 To 10a(i) = Int(Rnd * 100) + 1Print a(i) Next i End Sub 运行以上程序,发现有错误,需要对产生随机数