How to calculate sum of all permutations of a whole number x Calculate sum of all permutations of a whole number Calculate sum of permutations of digits problem statement: Can...