Hello guys,
I'm new to c++ obviously, and I need some guidance programming the following:
Create an array of size 6 with UNIQUE random numbers from 1-53 simulating the winning combination from a lottery game.
Later ask the user for 6 numbers which can be placed in a second array and compare these numbers against the winning combination and display:
- YOU WON - If all numbers match OR
- YOU LOST but you got these many matches ! (showing how many numbers actually macthed. Use functions!
Thanks in advance for your help.