Question: Write a program to simulate rolling a six-sided fair'' die with one dot on one side, two dots on another side, three dots on another

Write a program to simulate rolling a six-sided fair'' die with one dot on one side, two dots on another side, three dots on another side, and so on. Allow the user to enter the number of rolls. Print the number of rolls that gave one dot, the number of rolls that gave two dots, and so on. What should be the percentage distribution of the number of dots from the rolls?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!