Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include<cstring>
- using namespace std;
- char s1[256],s2[256];
- int main()
- {
- cin.getline(s1,256);
- strcmp(s2,s1);
- if(strcmp(strrev(s1),s2)==0)
- cout<<"este palindrom";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement