I need to create a program that asks to write strings , and ends when i type the word "END".
Then it tells how many strings i typed
and how many of them were palindromes
they are a word, phrase, or sequence that reads the same backward as forward
like
AKA , RAMUSH AGA SHUMAR , etc
it has to be with a do while loop
and the testing if it is a palindrome or not should be made with a static method
called itsPalindrome.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Output:
To learn Java visit https://hackr.io/tutorials/learn-java