anyone has a lottery simulation program for user to input manually or auto columns while there are 6 winning numbers, check hits? SOS | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

anyone has a lottery simulation program for user to input manually or auto columns while there are 6 winning numbers, check hits? SOS

please contact me at fb: nitzan Levi, its an urgent task and he did not give us enough time :-(

13th Sep 2016, 7:24 PM
Nitzan Levi
Nitzan Levi - avatar
1 Answer
0
If it would be the german kind of lottery (6 out of 49) I would create two arrays. One random array (six numbers between 1 and 49) for the computer-chosen numbers and another array to store those 6 numbers the User have to enter...
14th Sep 2016, 3:34 PM
Sven Briede
Sven Briede - avatar