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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post by answerhappygod »

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 **
** ** ** ** ** **
******** ******** ********
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply