What would you like to do?

If a five digit number is input through the keyboard write a program to calculate the sum of its digits?

already exists.

Would you like to merge this question into it?

already exists as an alternate of this question.

Would you like to make it the primary and merge this question into it?

exists and is an alternate of .

If a five-digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits. For example if the number that is input is 12391 then the output should be displayed as 23402.
//Author::Mudasir Yaqoob.....


int main()

long number,t;
int i=0;
long temp[5];
printf("Enter the five digit number:\n\n");


printf("Reverse number\n\n\n\n");
Thanks for the feedback!

Write a program in c language to reverse the five digits number?

//Reverse of the Number // Programme Written By Maulin Thaker Ahmedabad; #include #include void main() { int a,b,c,d,e; clrscr(); printf("Enter the Number to Find it's Revers

Write a c program to compute the sum of digits of a given integer number?

int sumDigits(int n) {   int sum = 0;    while( n > 0 ) {   sum += (n % 10); // add last digit of n to sum   n /= 10; // divide n by 10 to "chop off" the la

Write a program to count the number of times the digit is present?

include #include void main( ) { int a[50],i,n,s,t=0;/* the digit 50 can be any integer, its a user defined function a[limit]*/ clrscr( ); printf("\\n\\nenter the n

Write a program to calculate the sum of two numbers?

  #include   #include   void main()   {   int a,b,c;   clrscr();   a=20,b=30;   c=a+b;   printf("the sum of two number is %d",c);   getch(); 

Write a program to compute sum of digits of a given number in Java?

public static final int getSumDigits(int n) {   int sum = 0; while( n != 0 ) { // Add right most digit to sum sum += n % 10; // Chop off right most digit from n n

Write a program that would find the count of occurrence of largest digit in the input number?

include   #include   void main()   {   long int n,r,m,max=0,count=0;   clrscr();   printf("Enter the Number:");   scanf("%ld",&n);   m=n;  

A five digit no is entered through the keyboard write a program to obtain the reversed no and to determine whether the original no and reversed no is equal or not?

1) first you have to find the reverse of an integer.. code is given below, #include void main() { int a,b,m,s=0; printf("enter the value of a"); scanf("%d",&a); b=a;