Java Program to Find Sum of Digits of a Number

Here you will get java program to find sum of digits of a number. For example if given digit is 125 then its sum will be 8.

 

Output

Java program to find sum of digits of a number

Leave a Comment

Your email address will not be published. Required fields are marked *