Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE help me!! PLEASE show work and C# ONLY! THANKS! 183 9. Create a lottery game application named Lottery. Generate three random numbers, each between

PLEASE help me!! PLEASE show work and C# ONLY! THANKS!

image text in transcribed

183 9. Create a lottery game application named Lottery. Generate three random numbers, each between 1 and 4. Allow the user to guess three numbers. Compare each of the users guesses to the three random numbers, and display a message that includes the users guess, the randomly determined three-digit numberand the amount of money the user has won as follows Award ($) Matching Numbers 10 Any one matching 100 Two matching 1000 Three matching, not in order 10,000 Three matching in exact order No matches Make certain that your application accommodates repeating digits. For example, if a user guesses 1, 2, and 3, and the randomly generated digits are 1, 1, and 1, do not give the user credit for three correct guesses just one

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro SQL Server Wait Statistics

Authors: Enrico Van De Laar

1st Edition

1484211391, 9781484211397

Students also viewed these Databases questions