Wbat about: string input; cin >> input; if(input[0] == input[5} && input[1] == input[4] && input[2] == input[3]) { cout << "Palindrome!" << endl; } else { cout << "not! try another one" << endl; } ///Olle