SHARE
TWEET

Untitled

a guest Feb 27th, 2020 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void dublare1( int &n){
  2.     int x = n, p = 1, c;
  3.     n = 0;
  4.     while(x) {
  5.         c = x%10;
  6.         n = n + c*p;
  7.         p*=10;
  8.         x/=10;
  9.     }
  10.     n = n + c*p;
  11. }
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