Post Lab 8: Rolling a Pair of Dice

Due Friday, November 5, 2004

In this assignment you will write a PairOfDice class and then use it in a program with a loop.

The PairOfDice class should have the following instance data: two Die objects. Use the class Die.java from your textbook. The methods in the PairOfDice class should be:

Write a program PlayGame that does the following:

Hand In: