amritansh22 / Data-Structures-and-Algorithms-in-cpp

This repository is in development phase and will soon provide you with c++ code of various data structures and algorithms
MIT License
369 stars 341 forks source link

Added Lottery.cpp file related to issue #506 #514

Open rajeshpanjiyar opened 3 years ago

rajeshpanjiyar commented 3 years ago

The lottery game shows numbers to choose and user input is checked if it matches the auto-generated random value then the user is declared winner else the program asks for retrying. The program handles if the user has mistakenly entered other numbers than the list of alphabetic characters and all.

I am attaching screenshots of the screenplay.

1

Screenshot 2021-10-02 at 7 34 52 AM

2

Screenshot 2021-10-02 at 7 35 08 AM

3

Screenshot 2021-10-02 at 7 35 43 AM

4

Screenshot 2021-10-02 at 7 36 02 AM

5

Screenshot 2021-10-02 at 7 36 20 AM

PR related to the issue #506

welcome[bot] commented 3 years ago

Thanks for opening this pull request! Please be sure that you have checked out our contributing guidelines.