Question: Java please. if u could add comments that's would be great ! Yo u will simulate rolling a pair of dice (6 sided) a number

Java please. if u could add comments that's would be great !
Yo u will simulate rolling a pair of dice (6 sided) a number of times. You program will implement the following methods main -calls other methods . getRoll parameters: o int - number of dice o int - sides on dice o returns: int - a random roll with above parameters. getlnteger - parameters String-prompt (what to ask the user) o returns: int- integer the user entered printRolls print the results parameters: 11 ints -number of different rolls return: void o o Your program will first ask the user for the number of rolls to simulate (using getinteger). It will the simulate that number of rolls (using getRolls). You will then print out the different roll possabilities, the total number rolled for each roll, and the percentage of the total
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
