Advertisement
Guest User

Untitled

a guest
Oct 25th, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.17 KB | None | 0 0
  1. #include "stdafx.h"
  2.  
  3.  
  4. int _tmain(int argc, _TCHAR* argv[])
  5. {  
  6.     int d=312;
  7.     int b=(d%10*100+d/10%10*10+d/100%10);
  8.     int c=d+b ;
  9.    
  10.     {
  11.         printf("%d",c);
  12.        
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement