Private Sub Command1_Click()
Dim i As Integer, j As Integer
Dim pi(40, 40) As single
For i = 1 To 40
For j = 1 To 40
pi(i, j) = 10 * Rnd
Next
Next
For i = 1 To 40
For j = 1 To 40
Print Format(pi(i, j), "0.00000"+space(4));
Next
Print
Next
End Sub
温馨提示:答案为网友推荐,仅供参考