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
3.7k points