Hello Solo Universe . I want to make a game like program ...plzz help me . Here's description ā¬‡ā¬‡ | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
13th Sep 2018, 7:19 AM
Abhishek kumar
Abhishek kumar - avatar