Private Sub Command1_Click()
Dim i, j, N As Integer
For i = 1 To 7
NumArray(i) = 0
Next i
Randomize
NumArray(1) = Fix(1 + 32 * (Rnd()))
j = 1
Do
N = Fix(1 + 32 * (Rnd()))
For i = 1 To j
If N = NumArray(i) Then
Exit For ′重复时
ElseIf i = j Then ′未重复时
NumArray(i + 1) = N
j = j + 1
Exit For
End If
Next i
Loop While j <7
PopSort ′升序排列
For i = 1 To 7
Text1(i - 1).Text = NumArray(i)
Next i
End Sub
Private Sub PopSort() ′气泡排序法
Dim i, j, Temp As Integer
For i = 7 To 2 Step -1
For j = 7 - 1 To 1 Step -1
If i >= 7 - j + 1 Then
If NumArray(j + 1) <NumArray(j) Then
Temp = NumArray(j)
NumArray(j) = NumArray(j + 1)
NumArray(j + 1) = Temp
End If
End If
Next j
Next i
End Sub
001双色球富翁 8.5B.2007-4-25专业的双色球彩票过滤软件,软件拥用国外的先进算法,并拥有 AC,奇偶,号码和值等多达十几项条件过滤集于一身,让你每次投注都可大大地帮你节省一笔可观的资金。该软件 *** 作简单,一看就会,是一款双色球彩民不容错过的选号工具.如果你是经常买双色球的彩民,现在就马上下载使用吧.
下载地址
数学家彩票选号分析组合系统 3.11 For Win2k/Xp
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)