• Stars
    star
    1
  • Language
    C++
  • Created about 3 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Make a command line application that draws lottery numbers. 7 numbers and 3 bonus numbers. The numbers are between 1 and 39. At the end, the application will sort the numbers from biggest to smallest. First the regular numbers and then the bonus numbers. You can also include lottery tickets from few users and define prize money for different results. For example, 5 numbers correct, 5+1 correct, 6 correct, 6+1 correct and all seven correct. You can also add a feature that draws random lottery numbers for the user. After the actual lottery draw the application tells how many numbers were correct and how much money the user won. Text based user interface is defined by the student.