![]()
The Great Virginia Lottery Program
By: Atom
This is my VA Lottery program for Mr. Hagen's C++ Computer Science Class. We had to take the entire history of the VA Lottery (Pick 6) and put it into a data file. Once we had this data file, we had to read it into a program where it could be displayed, searched, and manipulated. It's purpose was to try and improve our odds for winning the lottery. The program I designed has the option of doing four things. You can:
1.) Display the top ten chosen VA Lottery numbers (1-44) throughout its entire history.
2.) Display the ten least chosen VA Lottery numbers (1-44) throughout the lottery history
3.) Display the entire history of the VA Lottery numbers (1-44)
from least picked to most picked throughout the lottery history.4.) Enter 6 numbers to "play" the lottery. These numbers are then processed through the data file and the program will display what you would have won if you played those numbers in every VA Lottery drawing.
Here are links to the code and sample data
to help you further understand our project.The Top 10 Chosen VA Lottery Numbers!
The 10 Least Chosen VA Lottery Numbers!