♡ thx for any help, this is java
![thx for any help this is java class=](https://us-static.z-dn.net/files/da4/29fa2762703a6476146959986740ae4a.png)
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