write a program that simulates a slot machine. the player
write a program that simulates a slot machine. the player starts out with m coins. the value for m is an input to the program, and you charge 25 cents per coin. for each play, the player can bet 1 to 4 coins. if the player enters 0 as the number of coins to bet, then the program stops playing. at the end of the game, the program displays the number of coins left and how much the player won or lost in the dollar amount. there are three slots on the machine, and each slot will display one of the three possible pieces: bell, grape, and cherry. when certain combinations appear on the slots, the machine will pay the player. the payoff combinations are as follows:the symbol ----------- means any piece. if the player bets 4 coins and get combination 5, for example, the machine pays the player 12 coins.
Price Type: Negotiable
Total Proposals: 5
1 Current viewersl
9 Total views
Proposals Reputation Price offered
- 31 Jobs 20 Reviews $0 in 0 Day