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 6, the user automatically wins $200If the total is 2,3,or 4, the user automatically loses $100If 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 6.If they do so, they win money equal to twelve times the total of the two dice.If not, they lose $100Play 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 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!