ou have 2 six sided dice and you want to know how often and what percentage of each combination is rolled for a designated number of rolls. Ask the user how many times they want to roll the 2 dice. Use the random number generator to produce 2 numbers in the range of 1-6. This will simulate each dice. For output, show what each dice was for each roll (Use a loop to do this) and then print a summary report of how many of each total you rolled. The summary report will show how many rolls were made, how many of each total (remember totals will be 2 - 12) and what percentage each total was from all the rolls (number of that total/total rolls *100). Example Below. Be sure to ask the user if they would like to run the program again (Hint: Be sure to carefully place your play again while loop so that all the counters can be reset to 0 to play the game again. Summary report: Number of Total Rolls of the Dice: 500 Sum of Two Dice Number Percentage 50 10% 3 100 20% 12 1%

A First Course in Probability (10th Edition)
10th Edition
ISBN:9780134753119
Author:Sheldon Ross
Publisher:Sheldon Ross
Chapter1: Combinatorial Analysis
Section: Chapter Questions
Problem 1.1P: a. How many different 7-place license plates are possible if the first 2 places are for letters and...
icon
Related questions
Question
ou have 2 six sided dice and you want to know how often and what percentage of each combination is rolled for a designated number
of rolls. Ask the user how many times they want to roll the 2 dice. Use the random number generator to produce 2 numbers in the range of 1-6. This will
simulate each dice. For output, show what each dice was for each roll (Use a loop to do this) and then print a summary report of how many of each total you
rolled. The summary report will show how many rolls were made, how many of each total (remember totals will be 2 - 12) and what percentage each total
was from all the rolls (number of that total/total rolls *100). Example Below. Be sure to ask the user if they would like to run the program again (Hint: Be
sure to carefully place your play again while loop so that all the counters can be reset to 0 to play the game again.
Summary report:
Number of Total Rolls of the Dice: 500
Sum of Two Dice Number Percentage
50
10%
100
20%
12
1%
Transcribed Image Text:ou have 2 six sided dice and you want to know how often and what percentage of each combination is rolled for a designated number of rolls. Ask the user how many times they want to roll the 2 dice. Use the random number generator to produce 2 numbers in the range of 1-6. This will simulate each dice. For output, show what each dice was for each roll (Use a loop to do this) and then print a summary report of how many of each total you rolled. The summary report will show how many rolls were made, how many of each total (remember totals will be 2 - 12) and what percentage each total was from all the rolls (number of that total/total rolls *100). Example Below. Be sure to ask the user if they would like to run the program again (Hint: Be sure to carefully place your play again while loop so that all the counters can be reset to 0 to play the game again. Summary report: Number of Total Rolls of the Dice: 500 Sum of Two Dice Number Percentage 50 10% 100 20% 12 1%
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
Recommended textbooks for you
A First Course in Probability (10th Edition)
A First Course in Probability (10th Edition)
Probability
ISBN:
9780134753119
Author:
Sheldon Ross
Publisher:
PEARSON
A First Course in Probability
A First Course in Probability
Probability
ISBN:
9780321794772
Author:
Sheldon Ross
Publisher:
PEARSON