Question: + rolledPairsOtherThanOnes(): Boolean +totalRoll(): int +showRoll(): void Need this in C++ and also what to do when saving each file in Xcode ... Question #2-classes

 + rolledPairsOtherThanOnes(): Boolean +totalRoll(): int +showRoll(): void Need this in C++
and also what to do when saving each file in Xcode ...
+ rolledPairsOtherThanOnes(): Boolean
+totalRoll(): int
+showRoll(): void
Question #2-classes (11 pts) a) (2 pts) A PairOfDice object represent a
pair of dice. Write a declaration for the class PairOfDice including its
data members and function members based on the following UML and save
it in a file called PairOfDice.h. Note: die1 and die2 will contain
Need this in C++ and also what to do when saving each file in Xcode ...

Question #2-classes (11 pts) a) (2 pts) A PairOfDice object represent a pair of dice. Write a declaration for the class PairOfDice including its data members and function members based on the following UML and save it in a file called PairOfDice.h. Note: die1 and die2 will contain the result of rolling the die. maxRoll stores the number of sides the dice have. The minimum number of sides is 4. The user will be prompted in the driver for the number of sides

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!