Advertisement
Guest User

pula

a guest
Sep 20th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. int oglindit(int n)
  2. {
  3. int c;
  4. int aux = 0;
  5. while (n != 0)
  6. {
  7. c = n % 10;
  8. n = n / 10;
  9. aux = aux * 10 + c;
  10. }
  11. return aux;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement