You created a lottery game application. Create a similar game using check boxes. For this game, generate

Question:

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 to play 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 player€™s numbers, and the amount of money the user has won, as follows: 

Award ($) Matching Numbers Three matches 100 Four matches 10,000 Five matches 50,000 Six matches 1,000,000 Zero, one, or

Save the file as JLottery2.java.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Java Programming

ISBN: 978-1337397070

9th edition

Authors: Joyce Farrell

Question Posted: