Question: I could use some help with the Chapter 14, game zone 2 question please. 2. In Chapter 5, you created a lottery game application. Create
I could use some help with the Chapter 14, game zone 2 question please.
2. In Chapter 5, you created a lottery game application. Create a similar game using check boxes. For this game, generate six random numbers, each between 0 and 30
inclusive. Allow the user to choose six check boxes t oplay the game. (Do not allow the user to choose more than six boxes.) After the player has chosen six numbers,
display the randomly selected numbers, the players' numbers, and the amount of money the user has won, as follows:
Matching numbers Award($)
three numbers 100
four matches 10,000
five matches 50,000
six matches 1,000,000
Save the file as JLottery2.java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
