Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved.
Learn more here!
I created an app that allows the user to specify (1) the number of dice and (2) the number of sides on the dice. It was a challenge to work out the number of possible combinations dynamically.
Given that there are 3 dice, need only look for the min. By default, the other two are the larger two and can be multiplied together, and have their result added to the min. Count which result appears the most, and this is what is expected