Question: Two dice are rolled 100 times (you can do this with two random values 1-6 in your program). After 100 rolls, keep the repetition value
Two dice are rolled 100 times (you can do this with two random values 1-6 in your program). After 100 rolls, keep the repetition value of how many times each situation occurs in a two-dimensional array. For example, the index [1,1] of the array should keep track of the number of times the dice come in a 1 to 1 state.
please write the answer in java
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
