Question: no arrays Dice rolling project Sample Console Output Roll the dice? 1y/) Rell 1: 2&5 Ro1l again? (y):Y Roll 2: 2.1 Roll again? ( Y

 no arrays Dice rolling project Sample Console Output Roll the dice?

no arrays

Dice rolling project Sample Console Output Roll the dice? 1y/) Rell 1: 2&5 Ro1l again? (y):Y Roll 2: 2.1 Roll again? ( Y Roll 3: 46 Roll again? (y) Ro11 4 &6 Box cars! Ro1l again? (y)Y Roll 5: 1&1 Snake eyes! Roll again? Y): n Operation If the user chooses to roll the dice, the application rolls two six-sided dice, displays the results of each, and asks if the user wants to roll again. Specifications . Create a public class named DiceRoller App that has the main method and uses the PairOfDice class to roll the dice each time the user responds 'y' to the request prompts. This app class should display special messages for "craps" (sum of both dice is T), "snake cyes (double 1's), and "box cars" (double 6's). For this application, assume that two six-sided dice are used

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!