Question: write a number Lottery program using Java (powerball). through the use of arrays,if statements, etc. - prompt the user to either enter 6 numbers or

write a number Lottery program using Java (powerball). through the use of arrays,if statements, etc.
- prompt the user to either enter 6 numbers or
be given 6 numbers randomly.
rules : they must get powerball number to have
a chance!
1 match + powerball = 2$
2 matches + powerball = 10$
3 matches + powerball = 300$
4 matches + powerball = 10,000$
5 matches + powerball = 50,000,000$
if possible please include Algorithm. I will like and share.

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!