none
How do I create this program? RRS feed

  • Question

  • In the Island Dice Roll game, the player begins with a score of 1000 shells.  The player is prompted for the number of shells to risk and a second prompt asks the player to choose either high or low.  The player rolls two dice and the outcome is compared to the player’s choice of high or low.  If the dice total is between 2 and 6 inclusive, then it is considered low. A total between 8 and 12 inclusive is high.  A total of 7 is neither high nor low, and the player looses the shells at risk.  If the player has called correctly, the shells at risk are doubled and added to the total shells.  For a wrong call, the player loses the shells at risk.
    Tuesday, October 1, 2019 4:57 PM

All replies

  • Hello,

    Please show your code effort so far as we are not here to write programs for you.


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Tuesday, October 1, 2019 6:34 PM
    Moderator
  • If I were your instructor then I would sure monitor forums like this and when someone posts an answer I would compare that answer to answers from my students. When a student uses an answer from a forum such as this then the student would be told they appear to be plagiarizing.


    Sam Hobbs
    SimpleSamples.Info

    Tuesday, October 1, 2019 8:36 PM