Advertisement
Guest User

Untitled

a guest
Apr 26th, 2015
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. bool es_capicua(int n) {
  2. int y;
  3. y=n;
  4. while (n<10) {
  5. n=n/10;
  6. }
  7. if (y==n) return true;
  8. else return false;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement