Question: c# Program Slot Machine Simulator A slot machine is a gambling device that the user inserts money into and then pulls a lever (or presses

c# Program Slot Machine Simulator A slot machine is a gambling device that the user inserts money into and then pulls a lever (or presses a button). The slot machine then displays a set of random images. If two or more of the images matches, the user wins an amount of money that the slot machine dispenses back to the user. When the program runs, it should do the following: Ask the user to enter the amount of money to be entered into the slot machine. Instead of displaying images, the program will random select a word from the following list: Cherries, Oranges, Plums, Bells, Melons, Bars To select a word, the program can generate a random number in the range of 0 through 5. If the number is 0, the selected word is Cherries; if the number is 1, the selected word is Oranges; and so forth. The program should randomly select a word from this list three times and display all three of the words. If none of the randomly selected words match, the program will inform the user that he or she has won $0. If two of the words match, the program will inform the user the he or she has won two times the amount entered. If three of the words match, the program will inform the user that he or she has won three times the amount entered. c# Program Slot Machine Simulator A slot machine is a gambling device

Slot Machine Simulator - This program simulates a slot machine. Enter the amount to deposit into the slot machine: 100 Cherries Bars Bars. Two bars match you won $200.88 Do you want to play again (y): x- Enter the amount to deposit into the slot machine: 2004 Melons Oranges Melons Two bars match you won $400.000 Do you want to play again (y): x Enter the amount to deposit into the slot machine: 1900- oranges Acanges Bars Two bars match You won $2,000.00 Do you want to play again (y): 0 Total amount deposited: Total amount won: Net gain/loss total: $1,300.00 $2,600.00- $1,3ee.ee

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!