Question: C++ Write a Program in C++ Please help as soon as possible User Story: As the owner of BCAT Gambling Industries, LLC,I want a slot
C++
Write a Program in C++ Please help as soon as possible


User Story: As the owner of BCAT Gambling Industries, LLC,I want a slot machine simulation program to project the financial viability of opening up a slot-based casino in Bel Air, MD. Description: Write a program to simulate a casino slot machine. The slot machine will accept bets for the following amounts: $1, $5, $10, $20, $50, $100 and $1,000.The program will operate by having the slot machine select a random number (the winning number) at the start of the day and/or after the slot machine pays out a winner. Each time the player pulls the slot handle, he/she will generate a random number. If the player's number is the same as the winning number, the player will win all or a percentage of the jackpot as illustrated in the payoff table BCAT Payoff Table Bet Amount Pa Greater of the two amounts $1 $5 $10 $20 $50 $100 $1000 01% of jackpot or $100 05% of jackp t or $500 1% of 2% of 5% of 10% of jackpot or $10,000 Total jackpot or $100,000 or $1000 or $2000 t or $5000 Assumptions: The jackpot starts the day with $10,000 and grows by the amount wagered by the player after each turn (For example, if the jackpot is $20,000 and the players bets $100, the new jackpot will be $20,100. The slot will hit (meaning the player wins) 1% of the time There are three random number generators: the winning number for the slot machine, the player's number and one to determine the wager . The amount of money wagered during each play is randomly selected. The amount of money wagered must be one of the following: $1, $5, $10, $20, $50, $100, and $1000. Hint. Use an array store the 7 different bet amounts. The simulation will operate for 24 hours straight with the slot machine being played once a minute. This means the slot machine will be played 1,440 times in 24 hours. Use a loop to simulate a player pulling the slot handle User Story: As the owner of BCAT Gambling Industries, LLC,I want a slot machine simulation program to project the financial viability of opening up a slot-based casino in Bel Air, MD. Description: Write a program to simulate a casino slot machine. The slot machine will accept bets for the following amounts: $1, $5, $10, $20, $50, $100 and $1,000.The program will operate by having the slot machine select a random number (the winning number) at the start of the day and/or after the slot machine pays out a winner. Each time the player pulls the slot handle, he/she will generate a random number. If the player's number is the same as the winning number, the player will win all or a percentage of the jackpot as illustrated in the payoff table BCAT Payoff Table Bet Amount Pa Greater of the two amounts $1 $5 $10 $20 $50 $100 $1000 01% of jackpot or $100 05% of jackp t or $500 1% of 2% of 5% of 10% of jackpot or $10,000 Total jackpot or $100,000 or $1000 or $2000 t or $5000 Assumptions: The jackpot starts the day with $10,000 and grows by the amount wagered by the player after each turn (For example, if the jackpot is $20,000 and the players bets $100, the new jackpot will be $20,100. The slot will hit (meaning the player wins) 1% of the time There are three random number generators: the winning number for the slot machine, the player's number and one to determine the wager . The amount of money wagered during each play is randomly selected. The amount of money wagered must be one of the following: $1, $5, $10, $20, $50, $100, and $1000. Hint. Use an array store the 7 different bet amounts. The simulation will operate for 24 hours straight with the slot machine being played once a minute. This means the slot machine will be played 1,440 times in 24 hours. Use a loop to simulate a player pulling the slot handle
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
