Printing sum of cubes of a digits of a number.[C Program Code]


This program prints the sum of cubes of a digits of a number.
For eg. If we input 111, we get the output as 3 which equals (1³+1³+1³ = 3).

Comments