[Tutorial] Lottery Winning Program!
This program just creates 6 random between 0 and 99.
It's very simple and took about 2 minutes to make(In Express Edition).
It does not increase your odds of winning but it sure can help you pick numbers.
Here is the source code:
Code:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Randomize()
Label1.Text = Int(Rnd() * 99)
Label2.Text = Int(Rnd() * 99)
Label3.Text = Int(Rnd() * 99)
Label4.Text = Int(Rnd() * 99)
Label5.Text = Int(Rnd() * 99)
Label6.Text = Int(Rnd() * 99)
End Sub
End Class
Just create 6 labels and a button and you can create your own version.
i learned dat in kindergarten
u mean childhous ^^.. or house of young ppls...
^^
Oh, cmon, but why did you post that here?? I mean, lol, even i am still nearly noob in programming and already know how to do that since im 11...
EDIT: Maybe ur rightr and really noob people appear and need to learn that...
just in caase that happens, Label11, 12 etc. must be changed to your labels. You create the labels and see what number they r or simply change their name. Obviously, it won't work if you just copy paste...