Revers sumission

Write a program for Revers sumission.

Program:
#include<stdio.h>
main()
{
int n,x,sum=0,c=0;

printf("Enter your value = ");
scanf("%d", &n);

while (n!=0)
{
x=n%10;
printf("\t%d",x);
sum=sum+x;
n=n/10;
c++;
}
printf("\nAre Sumission is  = %d", sum);
printf("\nTotal count = %d", c);
}
 

Loading
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Flying Twitter Bird Widget By ICT Sparkle