Question: -Must Use Two Dimensional array- Create a C# application to simulate the rolling of two dice. Use a Random object to generate a random integer
-Must Use Two Dimensional array-
Create a C# application to simulate the rolling of two dice. Use a Random object to generate a random integer in the range 1 to 6 for each die. There are 36 possible combinations (6 possible numbers for die 1 times 6 possible numbers for die 20. Repeat this for 360 times. Use a two dimensional rectangular array to count the frequency of each combination. Display the frequency counts.
The output must show each die combination and the amount of times this combonation happened in the 360 rolls.
For example
Dice Roll Combo: Die1 = 1 Die2 = 1
Frequency: 12
Die Roll Combo: Die1 = 1 Die2 = 2
Frequency: 15
ect. for all 36 possible combinations.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
