Slot machine simulation

Assignment Help Business Management
Reference no: EM131207521

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 using Raptor flowchart that simulates a slot machine. When the program runs, it should do the following:

  1. Ask the user to enter the amount of money he or she wants to insert into the slot machine.
  2. 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.
  3. 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.
  4. 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.
  5. if you please attached it as in Raptor file.

Reference no: EM131207521

Questions Cloud

Briefly evaluate the benefits and drawbacks of deontology : Explain deontology and the role of the categorical imperative in determining one's ethical duty.
Are any levels not useful when applying system safety : What levels of the hierarchy of controls are most applicable to system safety? Are any levels not useful when applying system safety? Provide one or more examples that support your response.
Biological markers–nutritional status of an individual : Does the sample you have seem to match this case? What would you expect to find in the blood and why? What do these symptoms reveal about the body? What are the possible conditions that would lead to these symptoms?
Set up the formula and work computational steps one by one : Set up the formula and work the computational steps one by one, explaining how each step is worked, especially what the negative exponent means. Explain what the answer means.
Slot machine simulation : 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..
How a failure to comply with americans with disabilities act : For this assignment research the Americans with Disabilities Act. Give a brief description of it. How does it define disability? What changes were implemented throughout the hospitality industry to comply with the Americans with Disabilities Act? ..
Plot zt and vt versus frequency for a given frequency range : Plot ZT and vT versus frequency for a frequency range of zero to 20 kHz. -  Plot VC versus frequency for the frequency range of part (a).
How much does each parcel weigh : 3 parcels of different sizes have a total mass of 25 kg. The smallest parcel is 1/2 the mass of the average parcel. The mass of the largest parcel is 1 kg more than the total masss of the other 2 parcels. How much does each parcel weigh?
Write an equation of a piecewise defined function : Write an equation of a Piecewise defined function with the given conditions: Domain is (-4, 3) U (3, ∞) and Range is (-2, ∞). Function must have only two pieces. Follow the instructions to complete the task.

Reviews

Write a Review

Business Management Questions & Answers

  Statistical methods

Statistical Methods

  Delineate the types of firms involved in fdi

Delineate the types of firms involved in FDI. Are there any types of companies that caninternationalise only via FDI? Elaborate.

  Historical development of nursing science

The development of nursing as a profession had demonstrated that it is both an art and science. Previous to the 19th century, the armed forces and spiritual orders are the people who carry out the tasks of how nurses operate today. Several occurre..

  Does the daughter have any rights in the contract between

Chang, a ?orist, contracted with Torres to provide delivery services in the local community. Torres discovered that his vehicles did not have the equipment to handle the work well, so he asked Chang if another delivery service, Rush Truk, would be ac..

  Stages friendly competitions between her teams of workers

Meg, a manager at XYZ Company, stages friendly competitions between her teams of workers and rewards them with donuts every Friday morning. We say that she has engaged in which type of behavior?

  Why is location important for a non retail business

Why is location important for a non retail business and how will your operation be different serving other businesses versus serving individuals?

  Communications between employees and customer

As manager of a customer service center, you want to help improve communications between employees and customer. In this assignment, compose an email to be sent to all CSR (customer service representatives) explaining the concept of You Attitude a..

  Members to conform to a group norms

What factors will influence group members to conform to a group's norms, and when will members remain independent? Do individuals who do not conform to the groups' norms ever succeed in influencing the rest of the group?

  Beneficial to the human spirit

Janine is a herbalist, preparing certain natural tonics she believes to be "beneficial to the human spirit." Her activities are located in a province which does not regulate such matters.

  Employer to fire an employee without a good reason

Should the law allow an employer to fire an employee without a good reason? Conduct research to provide examples to support your position and use your own personal employment experiences when possible.

  What pricing technique will you use

Prepare a BUSINESS Plan - Required clear in BUSINESS plan and most of the information present in the presentation of a draft of Hormuz

  Cost and price analysis using proper writing mechanics.

Examine the various cost classifications, the different allocation bases, and the application of cost-accounting standards.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd