A lottery simulator which keeps generating lottery tickets until all 6 numbers match. Find out how lucky you are.
Inspired by the $1.5B jackpot in 2016.
There are two versions included:
- version1.cpp = Keeps generating tickets until you win and displays how many tickets were bought.
- version2.cpp = Only generates one ticket.