Question: Design and implement a C# program, using methods and arrays, that simulates a lottery. The user should be asked to enter 5 integers between 1

Design and implement a C# program, using methods and arrays, that simulatesDesign and implement a C# program, using methods and arrays, that simulates a lottery. The user should be asked to enter 5 integers between 1 and 69 and an additional integer between 1 and 26. The computer will generate random numbers, 5 between 1 and 69 and 1 between 1 and 26, for the winning lottery ticket. The program should display the winning lottery ticket as well as the user's results. The image gives the possible prizes.

MATCH PRIZE 5 OF 5 + POWER BALL JACKPOT 2016.02.0 5 OF 5 $1,000,000 Eco L3.20 4 OF 5 + POWER BALL $50,000 LEONE SIN 4 OF 5 $100 CEOL 1 30F5 + POWER BALL $100 3 OF 5 $7 TEOSTUSTE 2 OF 5 + POWER BALL $7 10F5 + POWER BALL $4 OF 5 + POWER BALL $4 EOS 11.1975

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!