Program 5
Write a program to find the sum of the digits of the given number.
Variable description--
n=Number
sum= Holds the sum
rem=Holds the single digit of the number
temp=Temporarily holds the value of n
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Program 5
Write a program to find the sum of the digits of the given number.
Variable description--
n=Number
sum= Holds the sum
rem=Holds the single digit of the number
temp=Temporarily holds the value of n