Question: Need help with Java! Create a dice simulation to be used in a math class. Randomly generate the roll on 2 10 sided dice. Then

Need help with Java!

Create a dice simulation to be used in a math class. Randomly generate the roll on 2 10 sided dice. Then output: each number, the sum of those numbers, the difference between those numbers, the product of those numbers, the division with remainder (both as ints), and the die 1 number raised to the power of the die 2 number. Use printf to format the output to the user. The output should look like an answer key for the teacher/aide/parent: The formula with the numbers followed by the result.

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!