Super Lotto

Santa Clara University, Winter 2008

The SuperLOTTO Plus jackpot starts at $7 million, and has reached a record $193 million because the jackpot grows each time there is no winner.

This simple Java Program generates random numbers for the CA Super Lotto Plus, inorder to eliminate the dependency on the machine generated random numbers to come up with those 5 + 1 fortune numbers.

Specifications of SuperLottoNumbers.java
1> Picks five numbers from 1 to 47
2> Ensure there are only 5 numbers
3> Ensures the uniqueness of the numbers
4> Picks One MEGA number from 1 to 27

Even though this is a very simple program, there are a lot of aspects of Object Oriented Programming used in it.

Worked on :
► Core Java
► Eclipse IDE

Download SuperLottoNumbers Source Code and Associated Files

1> TestingClass.java
2> SuperLottoNumbers - Test Results.txt
3> SuperLottoNumbers.java
4> Pick.java [Client Class]

No comments: