daily pastebin goal
24%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2. #include<conio.h>
  3. int main(void)
  4. {
  5.     int n,sum=0,a;
  6.     scanf("%d",&n);
  7.     while(n>0)
  8.     {
  9.         a=n%10;
  10.         sum=sum*10+a;
  11.         n=n/10;
  12.          printf("%d",a);
  13.     }
  14.     getch();
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top