+ 3
Make a lottery game
The challenge is simple, make a lottery game where you have a certain amount of money and randomly draw a number each time. Let the player choose a number and if they chose that number they win, make it so one in 20 chances the player can win a jack pot prize of your choice. My try in C++ https://code.sololearn.com/cGFtfnES2cQF/?ref=app
2 Answers
+ 3
https://code.sololearn.com/cpwek9ZSI6KY/?ref=app
My Try...
0
You forgot the 1 in 20 chances