Answered You can hire a professional tutor to get the answer.

QUESTION

I need to write a pseudocode for the following: Create the logic for a dice game. The application randomly "throws" five dice for the computer and...

I need to write a pseudocode for the following: Create the logic for a dice game. The application randomly "throws" five dice for the computer and five dice for the player. As each random "throw" is made, store it in an array. The application displays all the values, which can be from 1 to 6 inclusive for each die. Decide the winner based on the following hierarchy of die values. Any higher combination beats a lower one: for example, five of a kind beats four of a kind.For this game, the numeric dice values do not count. For example, if both players have three of a kind, its a tie, no matter what the values of the three dice are. Additionally, the game does not recognize a full house (three of a kind plus two of a kind).

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question