Dice Simulator
For this assignment, you are to write a program that simulates the rolling of a pair of dice. First, write a class named Die that simulates a single die. The Die class should have a method named roll that generates a random number in the range of 1 through 6 for the value of the die. It should have another method named get value that returns the die’s value.
The program should create two instances of the Die class to simulate a pair of dice. The program should simulate the rolling of the dice and display their values.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.