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

Add Lottery_Game.cpp #506

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

I will push it as soon I get assigned. Thank You!

welcome[bot] commented 3 years ago

Thanks for opening your first issue here!

rajeshpanjiyar commented 3 years ago

Contributing under Hacktober fest 2021.

rajeshpanjiyar commented 3 years ago

I request project admin review this issue and pr