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
Get step-by-step solutions from verified subject matter experts
