Question: java ogram That Sim X RB Upload Assignment Lab 3 - 5 X 9 Module 3 Lab 5 Module 3 Lab webdav/pid-9535851-dt-content-rid-42739860_1/courses/CSIT210.21470202021/ Lab3-Ch3.pdf Frostburg State

java
ogram That Sim X RB Upload Assignment Lab 3 - 5 X 9 Module 3 Lab 5 Module 3 Lab webdav/pid-9535851-dt-content-rid-42739860_1/courses/CSIT210.21470202021/ Lab3-Ch3.pdf Frostburg State University contains 26 characters The final string is Frostburg State UniversityFrostburg, MD 2. Dice Write a program that simulates rolling two dice using the following steps: 1. Prompt the user for the number of sides for two dice. 2. "Roll" the dice three times by generating a random number between 1 (inclusive) and the number of sides (inclusive) 3. Keep track of the sum of the rolls for each die and output the sun and average for each die. Sample Output: How many sides does die i have? 6 How many sides does die 2 have? 20. Die 1 first roll = 5. Die 2 first roll 14. Die 1 second roll = 1. Die 2 second roll 20. Die 1 third 911
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
