programming language 9
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 1xBET amount to the account. Display value in WIN with a negative amount. - When user wins 2 (i.e. 2 same pictures displayed), add 1xBET amount to the account. Display amount in WIN. - When user wins 3 (i.e. jackpot), add 5x BET amount to the Account. Display amount in WIN.Remember the Account value window keeps track of the user balance after each game.4. Add also the following: The user Wins and game is over also when the WIN is twice or more than the value in the Account before that particular game. (For instance, let's say user balance is 30 and user wins 60 or more in that game by placing a bet of 12 or more and wins the jackpot 12x5 = 60). Display a notice to show how many games it takes the user to win amount, display amount together with the user Account balance.
___________________________________________________________________________________________________________________________________________
You are required to make at least two comments on the responses posted by your classmates with a minimum of 50 words. Make sure you design your response with your own words. Your responses to your classmates must be of substance; not just “I agree” or “Good Post.” The purpose of the responses is to convert the discussion forum into a quality academic environment through which you improve your knowledge and understanding. Read and review all assigned course materials and chapters before you start working on your assignments.
- a month ago
- 8
- Musyokiones
- Tutor Cyrus Ken
- ProCastrol01
- HELPER WRITER
- PROF_TOMMY
- Creative Geek
- Premium
- Prof Double R
- Prof. Dr. Reena
- runge-kutta acer
- American Tutor
- brilliant answers
- juliusmu33
- Rosie September
- Elprofessori
- quality work for all
- prof bradley
- All Works solver
- Paula Hog
- PROF. ANN
- Agher Editor
- Brainy Brian
- EssaySupremo
- Catherine Owens
- Erick Tyler
- Michelle Owens
- Yourstar
- firstclass tutor
- Lisa-Randall
- ChrisProf
- Ultimate GEEK
- JudithTutor
- Stano 001
- Miss Alabama
- Terry Roberts
- prof avril
- Dr Candice_2547
- Callie Thorne
- Wendy Lewis
- Brilliant Geek
- ptamulwa
- Amanda Smith
- Proff work phd
- DrNicNgao
- fun learning
- phyllis young
- TheKingWriter
- Rey writer
- RonnieReagan PhD
- DexterMasters
- Prof Nato(PhD)
- TutorJoeKim
- kim woods
- Prof.MacQueen
- Coleen Anderson
- tutorthammy
- Ranchoddas Chanchad PhD
- PROFJUMAAA
- profwachgrace
- Dr.SaraAhmed
- ScanWrite
- Oxama Alee
- Queen Leny
- Sally Sutton
- YourFrontWriter
- Noel1993
- I appreciate it
- English communication homework
- can someone do this paper for 8 dollars
- can you help
- MT445 Managerial Economics homework assignment
- Assignment 1: To Build or Buy
- Why is the HIV/AIDS virus such a critically important issue - particularly in Sub-Saharan Africa? (The question is NOT asking you to explain biological dangers/descriptions of the virus itself, but WHY this is it such an important issue in this region of
- Why is the painting controversial
- LEA408 WK4 DISC 1
- Report: Evaluation of a company.
Week 9 Programing
NOT RATEDRead 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 …
2 months ago