string palindrome
#include <iostream>
#include <string>
using namespace std;
int main() {
string str;
string rev_str;
getline(cin,str);
string::reverse_iterator it;
for(it=str.rbegin();it!=str.rend();it++){
rev_str += *it;
}
if(rev_str==str)
cout<<"palindrome";
else
cout<<"not a palindrome";
return 0;
}INFO