用vb打印一个10*10的随机两位正整数方阵
问题描述:
用vb打印一个10*10的随机两位正整数方阵
答
Private Sub Command1_Click()
For i = 0 To 99
Randomize
If i Mod 10 = 0 Then
Print
Print Int(Rnd * 90 + 10);
Else
Print Int(Rnd * 90 + 10);
End If
Next
End Sub