Question: Ask the user how many times the dice should be thrown. Calculate the total of each dice throw. Keep a tally of each total that

Ask the user how many times the dice should be thrown.
Calculate the total of each dice throw.
Keep a tally of each total that has been thrown.
You will need to create several variables to store this.
For example: d2, d3, d4, d5,..., d12
Display to the user how many times each Total came up:
Also, calculate the average for all of the dice throws.

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!