Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- int x;
- scanf("%d", &x);
- if(99<x && x>999)
- printf("Ne validen vlez\n");
- else if ((x%10) == (x/100))
- printf("Palindrom e");
- else
- printf("Ne e palindrom");
- return 0;
- }
Add Comment
Please, Sign In to add comment