Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
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