Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void dublare1( int &n){
- int x = n, p = 1, c;
- n = 0;
- while(x) {
- c = x%10;
- n = n + c*p;
- p*=10;
- x/=10;
- }
- n = n + c*p;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement