#include #include using namespace std; int main(int argc, char *argv[]) { string word; std::cout << "enter a word:" << std::endl; cin >> word; char temp; int i,j; for(j=0, i = word.size()-1; j