Java - Lottery Game

Short Java Program demostrating a Lottery. The program asks the user to enter a number as the range to generate 5 random number up to the range the user has entered. Also there is a seprate function to generate the Power Ball number. The output will display on the screen and also create a text file with the generated numbers.


Output text: