Question: Create an application game that generates 4 random numbers each between 1 and 2 5 ( no duplicate numbers ) . Allow the user to

Create an application game that generates 4 random numbers each between 1 and 25(no duplicate numbers). Allow the user to guess 4 numbers. If the user enters a duplicate number, display a message saying duplicate number and have them enter another number. Make sure they enter 4 different numbers. Compare the numbers to the computer generated random numbers (only 1 match per number, no duplicate number matches) and display a message if the user guessed the following:
None of your numbers were matched
One number matched
Two numbers matched
Three numbers matched
If Four numbers are matched display a winning message.
Also, display the random generated number and the users 4 numbers entered separated by spaces.
Example: ( But feel free to make it look different, just make sure you have this information displayed)
Two numbers matched
Computer generated number: 310520
Your numbers: 110524
 Create an application game that generates 4 random numbers each between

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!