technicalsymposium


Free E-Mail Alerts

Software Programs Codings-Free Download

C Program For SUM OF DIGITS.

#include<stdio.h>
#include<conio.h>
void main()
{
int n,t,s=0;
clrscr();
printf("Enter the digit");
scanf("%d",&n);
while(n>0)
{
t=n%10;
s=s+t;
n=n/10;
}
printf("sum =%d",s);
getch();
}

Technicalsymposium.com- All Information Contents Given Below-Click & Get All Details

Hosting by Yahoo!

About-Us    Contact-Us    Site-map

©copyright All rights are reserved to technicalsymposium.com