How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Ingo U Your Own Question
Ingo U
Ingo U, Software Engineer
Category: Homework
Satisfied Customers: 755
Experience:  Over 25 years experience in software development. Expert in Microsoft .Net, C#, C++, VB, SQL
44076068
Type Your Homework Question Here...
Ingo U is online now
A new question is answered every 9 seconds

I need help with a game for a vba class. I found that

This answer was rated:

I need help with a craps game for a vba class. I found that you answered this before. Can you help out?
Hi,
could you upload any existing file(s) to wikisend.com so I may have a look?
Thanks,
Ingo U

PS If you're not familiar with wikisend, it's easy and free:
Go to www.wikisend.com and upload the file there (no need to sign up). You will then get a page that has the File ID and Download Link. Copy either the File ID or the Download Link and come back here and paste it in your reply.
Customer: replied 3 years ago.

File ID: 235894


 


Download Link:


 


http://wikisend.com/download/235894/DeborahRiley_VivaLasVegas.xlsm


 


 


In this game, the player rolls a pair of dice and sums the numbers showing.


A total of 7 or 11 on the first roll wins for the player, whereas a total of 2, 3, or 12 losses.


Any other number is XXXXX the “point.”



The player then rolls the dice again.

If the player rolls the point number, the player wins.

If the player throws a 7, the player loses.

Any other number requires another roll.


The process continues until either a 7 or the point is thrown.


The player can quit while waiting for the point, in such a case, a loss is recorded.



Only keep track of wins and losses – we do not want to deal with the actual dollar amounts that would be won or lost.


After each game, the player should be told the cumulative number of wins, losses and be asked to play again or quit.





Hi,
would you like me to rewrite this in a (hopefully) more readable fashion? As it stands, it doesn't run since there are GoTo statements with undefined labels (and Goto is to be avoided anyway)
Customer: replied 3 years ago.
Yes, please. I will not be back on this until 4:00cst.
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.
Ingo U and 2 other Homework Specialists are ready to help you

Related Homework Questions