Share your repls and programming experiences
Play this amazing lottery game and see if you can win!
hand the cash over
I matched all of them!(I stole your answer, Sorry @Tricksyz)
@Tricksyz, nice one
You don't need to call srand so many times. You can just type srand(time(NULL)) once at the beginning of your main function.
Sorry that was mean I’ll delete those.
Yo I won $100
its a scami won and only got 1 mil when it should be 10mil
I won on the second try with 4, 7, 19 as my numbers. Nice coding, I hope to see more cool things from you in the future!
3 wrong numbers=2 right numbers??
I would suggest revamping this with the c++11 random library, it provides uniformly distributed random numbers and several types of PRNGs with massive periods. 👍
That title is like every youtube title in my sisters recommended
please hand over the moneythese are the results I got:You matched all three numbers and got them in the same order! You win $1,000,000!winning numbers