subject

In Java please Write a lottery program that will ask the user if they would like to pick 5 numbers (1-30) or if they would like to choose EZ Pick where the computer randomly picks their 5 numbers at a cost of $1.00. Then you will give them a chance to also play the Next Chance drawing for an extra $1.00. They do not choose additional numbers for the Next Chance drawing.
Once they have all of their selections complete, have the computer game generate the five random winning numbers and if they opted for the Next Chance drawing, select 4 more random numbers. Display all of the users numbers, all of the winning numbers, and display how much, if any, that the player has won based on the following information:

Match Prize

5 of 5 $ 100,000
4 of 5 $ 1,000
3 of 5 $ 200
2 of 5 $ 20
1 of 5 $ 2

Next Chance Match Prize

4 of 4 $ 1,000
3 of 4 $ 500
2 of 4 $ 10
1 of 4 $ 5

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:40
When running anti-virus software , what could be a reason where recipitent is not guaranteed that data being streamed will not get interrupted?
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
What are two of the most common reasons that peolpe who need mental health care do not access it?
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
The first screen you see when you open word2016 what is called?
Answers: 1
question
Computers and Technology, 23.06.2019 10:30
How would you categorize the software that runs on mobile devices? break down these apps into at least three basic categories and give an example of each.
Answers: 1
You know the right answer?
In Java please Write a lottery program that will ask the user if they would like to pick 5 numbers...
Questions
question
Mathematics, 24.06.2019 00:00
question
Mathematics, 24.06.2019 00:00
Questions on the website: 13722363