Sunday, August 22, 2004

New program will help you win the lottery

What's up what's up, I just wrote a new program yesterday that will record lottery results and then predict numbers for you.

The .java and .class files are here.

Here's a quick run-through on how to use the program:

1) You need Java installed, run the program by typing "java lottery"
2) You probably will want to load results from a URL (choice 3) first, use a URL such as this.
3) You can save the results to a file (choice 2) and then load them back (choice 1)
4) If you have results loaded and choose 3 to load from URL it will add the results from that URL to your current results.
5) Finally when you have all the results you want entered, use choices 5 and 6 to pick your "winning" numbers.

Keep in mind this is just a friendly experiment that stemmed from the fact that I wanted to learn how to use the java.net classes to access the web. You can play the lottery your whole life using this program and never win. Don't blame me ;-).

J out.

0 Comments:

Post a Comment

<< Home