Question: Write a java program that simulates the rolling of two die then adding the two die together for a total number. For example, 3 on

Write a java
program that simulates the rolling of two die then adding the two die together for a total number. For example, 3 on die 1 and 4 on die 2=7(total). Build an array that counts how many times each total is rolled. Print the results of the array in a formatted table. Use at least one method in addition to the main method for this solution.

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 Programming Questions!