Complexity kills. It sucks the life out of developers, it makes products difficult to plan, build and test, it introduces security challenges, and it causes end-user and administrator frustration. Ray Ozzie
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