Question: CPP Dice Game ask User for a number number is sum of three dice rolls - program creates a computers guess program rolls a dice

CPP Dice Game ask User for a number number is sum of three dice rolls - program creates a computers guess program rolls a dice three times - values entered into array winner determined by the closest guess Example: user guess is 10 computer guess is 12 sum of three rolls is 9 user wins Example: user guess is 10 computer guess is 12 sum of three rolls is 11 computer wins: user ONLY wins if guess is closer than computer Requirements: 1) Program 1) 2) 3) 4) Keeps the score for user and computer Displays the score after each round Continues until user enters -1 Should use random numbers (rand) 2) Functions 1) 2) to roll the dice (meaning entering into array) determine the guess's difference from the sum 3) Main 1) 2) 3) asks user for input calls the functions outputs the results with the score
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
