作业帮 > 综合 > 作业

Private Sub Form_click()得到一组随机变量,怎样用到Private Sub Command1_Cl

来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/19 04:07:37
Private Sub Form_click()得到一组随机变量,怎样用到Private Sub Command1_Click()中去啊
Private Sub Form_click()得到一组随机变量,怎样用到Private Sub Command1_Cl
用数组像这样:Dim a(1 To 10) Private Sub Command1_Click() For i = 1 To 10 Print a(i) Next i End Sub Private Sub Form_Click() Randomize For i = 1 To 10 a(i) = Int(Rnd * 100) Next i End Su