The slot machine then displays a set of random images. Your program performs the tasks indicated by theĪ slot machine is a gambling device that the user inserts money into and then pulls a lever (or presses a button). Messages: the player’s total deposit, the winning or losing amount and theĪsk the player whether he or she wishes toĬontinue to play a game.
If the balance is insufficient, prompt the user toĭeposit more money, else the game chosen by the player starts.Īt the end of each game run, show the following She wants to play: 1=Slot Machine, 2= Blackjack and the amount the player wouldĪfter a game selection is made, check the Offered (Slot Machine, Blackjack) and prompt the player to choose a game he or Track of the player’s account balance through the entire game.ĭisplay a game menu containing the two games Required minimum amount is $20 and the max is $1000.
Ask the player to make an initial deposit, the