Order now
     

Raptor Flowchart

Raptor Flowchart

Slot Machine Simulation: A slot machine is a gambling device that user inserts money into and then pulls a lever (or press a button), and then the slot machine then displays a set of random images. If two or more of the images match, the user wins an amount of money, which the slot machine dispenses back to the user.

Design a program in flowchart that simulates a slot machine. When the program runs, it should do the following:

Ask the user to enter the amount of money he or she wants to insert into the slot machine.
Instead of displaying images, the program will call a user defined function three times, each randomly select a word from the following list: Cherries, Oranges, Plums, Bells, Melons, Bars.
If none of the randomly selected words match, the program will inform user that he or she has won 0. If two of the words match, the program will inform user that 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.
The program will ask whether the user wants to play again. If so, these steps are repeated. If not, the program displays the total amount of money entered into the slot machine and the total amount the user won.

 

PLACE THIS ORDER OR A SIMILAR ORDER WITH US TODAY AND GET A GOOD DISCOUNT

find the cost of your paper