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 17:30
The forerunner to cell phones, pdas, and smartphones was
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
On early television stations, what typically filled the screen from around 11pm until 6am? test dummies test patterns tests testing colors
Answers: 1
question
Computers and Technology, 23.06.2019 08:30
All of these are true about using adhesive except: a. dissimilar materials can be joined. b. mixing tips are product and material specific. c. a specific application gun may be required. d. two-part adhesives are dispensed using two mixing tips
Answers: 3
question
Computers and Technology, 24.06.2019 05:30
How do i get rid of my member ship for
Answers: 2
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, 14.10.2020 01:01
question
English, 14.10.2020 01:01
question
Chemistry, 14.10.2020 01:01
Questions on the website: 13722361