Question: Write a Java program for the ADice game. For the game, The user rolls two dice. Add up the total of the two values. If
Write a Java program for the ADice game. For the game, The user rolls two dice. Add up the total of the two values. If the total is the user automatically wins $If the total is or the user automatically loses $If it is anything else the game continues, and the user keeps rolling the two dice. The goal in this case is to repeat the value that was thrown the first time before they throw a If they do so they win money equal to twelve times the total of the two dice.If not, they lose $Play twenty times and accumulate the net amount of money. You MUST use a minimum of five methods.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
