I can't program any more, its been a long time, but it shouldn't be to hard to do. Just do something like....

while (more words)
cin << 1word
drow1 = reverse of word1
compare 1word & drow1
if same, print, else, goto next word.