If three of the images match, the program should inform the user that he or she has won three times the amount entered. If two of the images match, the program should inform the user that he or she has won two times the amount entered. If none of the randomly displayed images match, the program should inform the (Slot machines traditionally display fruit symbols. When the user clicks the Spin button, the application should display three randomly selected symbols. The application should let the user enter into a TextBox the amount of money he or she is inserting into the machine. If two or more of the images match, the user wins an amount of money that the slot machine dispenses back to the user.Ĭreate an application that simulates a slot machine.
The slot machine then displays a set of random images.
A slot machine is a gambling device into which the user inserts money and then pulls a lever (or presses a button).