{br} STUCK with your assignment? {br} When is it due? {br} Get FREE assistance. Page Title: {title}{br} Page URL: {url}
UK: +44 748 007-0908, USA: +1 917 810-5386 [email protected]

Create a lottery game application. Generate four random numbers, each between 1 and 10. Allow the user to guess four numbers. Compare each of the user’s guesses to the four random numbers and display a message that includes the user’s guess, the randomly determined four numbers, and amount of money the user has won as follows:
Any One matching: $10
Two matching: $30
Three matching: $100
Four matching, not in order: $1000
Four matching, in exact order: $10000
No matches: $0

Make certain that your program accommodates repeating number. Save the file as Lottery.cs.

This question has been answered.

Get Answer
WeCreativez WhatsApp Support
Our customer support team is here to answer your questions. Ask us anything!
👋 Hi, how can I help?