Sum of Digits
Sum of Digits To find sum of digits of a number just add all the digits. For example, Logic: Example: Given program shows the sum of digits of 14597. Output:
Sum of Digits To find sum of digits of a number just add all the digits. For example, Logic: Example: Given program shows the sum of digits of 14597. Output: