225k views
23 votes
♡ thx for any help, this is java

♡ thx for any help, this is java-example-1

1 Answer

4 votes

Step-by-step explanation:

There is only one number we need to change in the code, and that is 6. The 6 represents the number of sides, but this only works for a 6-sided die. If we changed the 6 to sides, this would work for any sided die, because sides would be plugged in

User Urmil Jindal
by
8.8k points

Related questions

asked Feb 17, 2017 115k views
Hasumedic asked Feb 17, 2017
by Hasumedic
8.0k points
1 answer
0 votes
115k views
asked Apr 12, 2018 223k views
Yaritza asked Apr 12, 2018
by Yaritza
7.7k points
1 answer
1 vote
223k views