Ask java questions live free
I am having trouble with this question "Design and write an algorithm that will read a single word from the keyboard and prints to the screen whether this word is a palindrome or not. A palindrome is a word; (or sentence, but for this question we are only dealing with a single word); that is spelt the same way forwards as backwards. The program should then ask for another word and end if the word typed in is ‘STOP’.
Please note that this will need to be done without arrays, as it is your ability to manipulate and compare characters that is being tested."
All my attempts have been wrong
Can you please help?