Question: Write C++ code! for a dice game John and Pete are playing a game, John has nine 4-sided dice and Pete has six 6-sided dice.
Write C++ code! for a dice game

John and Pete are playing a game, John has nine 4-sided dice and Pete has six 6-sided dice. They both roll their dice and the winner is the one with the highest number, in case they roll the same number it is a draw. Write a function that simulates 10 games, keep track and print each of their scores. After the 10h game print the overall score, declare a winner and print the best roll of each player
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
