Tag Archives: sum of digits of a number in c using while loop

Sum of digits of a Number in C

In this tutorial we are going to learn about adding digits present in a given number.The main concept of this problem is…..If the input is 225 then the output should be 9 i.e is addition 2+2+5.The logic behind it is … Continue reading

Posted in C | Tagged , , , , , , | 1 Comment