首页上一页 1 下一页尾页 2 条记录 1/1页
会的都来 那里错了
发表在VB答疑区
2011-02-22
是否精华
是
否
版块置顶:
是
否
Private Sub Form_Load()
Dim i As Integer, j As Integer, k As Integer
i = Int(Rnd * 10)
j = Int(Rnd * 10)
k = Int(Rnd * 10)
Label1.Caption = i & "+" & j & "+" & k & "=" & (i + j + k)
End Sub
为什么不随即数不会变换? 显示后都是 7+5+5=17??
Dim i As Integer, j As Integer, k As Integer
i = Int(Rnd * 10)
j = Int(Rnd * 10)
k = Int(Rnd * 10)
Label1.Caption = i & "+" & j & "+" & k & "=" & (i + j + k)
End Sub
为什么不随即数不会变换? 显示后都是 7+5+5=17??