Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool es_capicua(int n) {
- int y;
- y=n;
- while (n<10) {
- n=n/10;
- }
- if (y==n) return true;
- else return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement