Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  c
Language: C/C++
Code:
#include<stdio.h>
int main()
{
int n, rem1, sum;
printf("enter the number to get its sum");
scanf("%d",&n);
while (n>0)
{
rem1=n%10;
n=n/10;
}
sum=rem1;
}
          
          
Comments: