Question: This is c++ program! Please, Use codeBlocks and explain each step!! Thaanks Create the following program. Emulate the Mega Million Lottery game. These are the

This is c++ program! Please, Use codeBlocks and explain each step!! Thaanks  This is c++ program! Please, Use codeBlocks and explain each step!!
Thaanks Create the following program. Emulate the Mega Million Lottery game. These
are the rules: 1) The person must guess 5 numbers from 1

Create the following program. Emulate the Mega Million Lottery game. These are the rules: 1) The person must guess 5 numbers from 1 to 75, and a Mega ba from 1 to 15 (google Mega Million for more details) l1 number 2) There are multiple ways to win. Your program will determine if any of the possible winning outcomes occur and then output what won or lost the person has The prizes are as follows: Mega ball 1 + Mega Ball 2 + Mega Ball $1 $2 $5 $5 3 + Mega Ball$50 4 $500 $5,000 $1,000, 000 + Mega Ball 4 5 5 + Mega Ball SJACKPOT 3) Use the included megamillion.cpp file. a) Do not modify the included main function. b) Add functions as specified and make the program work. 4) This program includes the following constant variables: a) NUMBER_RANGE the maximum value for a regular number MEGABALL_RANGE the maximum value for a Mega bal1 number For testing purposes use small values for the constants. The final submission should use the original Mega Million values

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!