在窗体上画1个命令按钮,其名称为Command1,然后编写如下事件过程: PriVate Sub Commandl_CUck() Dimalt(1 To 100)As Integer Fori=1 To 100 arr(i)=Int(Rnd*1000) Nexti Max=arr(1) Min=arr(1) Fori=1 To 100If [12] Then Max=arr(i)End IfIf
主观题
在窗体上画1个命令按钮,其名称为Command1,然后编写如下事件过程: PriVate Sub Commandl_CUck() Dimalt(1 To 100)As Integer Fori=1 To 100 arr(i)=Int(Rnd*1000) Nexti Max=arr(1) Min=arr(1) Fori=1 To 100If [12] Then Max=arr(i)End IfIf