Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main(){
- int n;
- scanf("%d",&n);
- if(n>99&&n<1000){
- if(n%10==n/100){
- printf("Palindrom");
- }
- else {
- printf("Ne e palindrom");
- }
- }
- else printf("Nevaliden vlez");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement