Question: Hello, I need to create the java program based on the information here: Simulate the real lottery MEGA MILLIONS and create a good GUI. The

Hello,

I need to create the java program based on the information here:

Simulate the real lottery MEGA MILLIONS and create a good GUI. The rule of the game is (from Internet): The Lottery game in which the ticket purchaser selects, or has the computer randomly assign five (5) different numbers from Field 1 which includes a range of consecutive numbers from one (1) to fifty-six (56) and one (1) number from Field 2 which includes a range of consecutive numbers from one (1) to forty-six (46), shall be called MEGA MILLIONS". For example, the winning numbers from Field 1 may be {03, 05, 10, 20, 43} and from Field 2 {05}. As you can see the number from Field 2 may be the same as one of the numbers of Field 1. You have different ways to develop your algorithm and code. One of the ways is to use ArrayList. You are free to select some other way. Please give UML diagrams for all classes.

I tried myself but I get 0. I need it as quickly as possible

Thank you!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!