Modify the slot program from the book with the following changes:1. Add two extra windows in the stats group box: one is calle

 Read chapter 9.Modify the slot program from the book with the following changes:1. Add two extra windows in the stats group box: one is called BET (this is the amount of dollars the user wants to bet on each game, amount cannot be more than the balance); the other is called WIN (this is the amount of money won by the user on each game, use a negative amount when it's a loss).2. Ask user how much money to start with instead of using Account =20 on the program. This will be the initial amount to place in Account window.3. – When user loses (i.e. 3 different pictures displayed), subtract 1x BET amount to the account. Display value in WIN with a negative amount.    – When user wins 2 (i.e. 2 same pictures displayed), add 2x BET amount to the account. Display amount in WIN with a positive amount.   - When user wins 3 (i.e. jackpot), add 5x BET amount to the Account. Display amount in WIN with a positive amount.Remember the Account value window calculates the user balance after each game.4. Add the following: User Wins and Game is over if: Account Window is 0 or les or Account Window is 10 times or more of user initial amount (For instance, let's say user starts playing with 30 and the Account window is 300 or more).Display a notice to show: how many games it takes the user to win and user Account balance.

* Remember to also submit a text file of the entire program (not an image), screenshots of the output, and the .bas file.

PreviousNext
 

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more