Rewrite the snake eyes program using a pair of dice


Using the Die class defined in this chapter, design and implement a class called Pair Of Dice, composed of two Die objects. Include methods to set and get the individual die values, a method to roll the dice, and a method that returns the current sum of the two die values. Rewrite the Snake Eyes program using a Pair Of Dice object.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Rewrite the snake eyes program using a pair of dice
Reference No:- TGS01398508

Expected delivery within 24 Hours