Hello Solo Universe . I want to make a game like program ...plzz help me . Here's description ⬇⬇ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hello Solo Universe . I want to make a game like program ...plzz help me . Here's description ⬇⬇

I want to make a lucky drawl program . such that it declares winner or loser to the user . My thinking is that i want to first create an Array and on that there will be 10 random created numbers using srand(time(0)) ; And then people will select one position on that random created Array and if they get number lucky number , the fuction will cout "winner" unless cout "loser" . some text there (please find playground code ) ⬇⬇ I hope I can understand you 😊 .

13th Sep 2018, 7:05 AM
Abhishek kumar
Abhishek kumar - avatar
1 Answer
13th Sep 2018, 7:19 AM
Abhishek kumar
Abhishek kumar - avatar