Develop a C++ Pick Three Lotto Game Program base on the concepts of Chapter 1 and 2 (If’s and Loops) only. Chapter 1 and 2 only include constants, if, else, switch, while, do, breaks, logical-arithmetic-operators, and variables.
Prompt the user to enter in their three separate numbers in three separate variables. Make sure to use numbers, not text.
Example: 1 2 3 these are three separate numbers
Example: 123 this is One Hundred Twenty-Three.
Compare the user numbers to the winning numbers.
Show appropriate messages indicating a winner or loser.
Use Escape Sequences or symbols from the keyboard to drawing symbols around the winning lotto balls based on this type of format.
Example: if these were the winning numbers, then you would show them as.
******** ******** ********
** 7 ** ** 8 ** ** 3 **
** ** ** ** ** **
******** ******** ********
Develop a C++ Pick Three Lotto Game Program base on the concepts of Chapter 1 and 2 (If’s and Loops) only. Chapter 1 and
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am