Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning. Rick Cook
Find the number of ways to get the summation of values on each face when all dice thrown. We have N dice with M faces.
The number of faces in Dice: 6 The number of throws: 6 The Summation of all throws: 30 Possibility of dice: 456/46656