Tag Archives: sum of digits in java

Sum of digits in JAVA

Here is a traditional problem…..Finding the sum of digits of given number.It is not a difficult one, just we need to find the logic in it.Logic is we need to get the digits of the given number using modulus operator.Now, … Continue reading

Posted in Java | Tagged , , , , , | 1 Comment