Enter a word: racecar racecar is a palindrome Enter a word: nasabayabasan nasabayabasan is a palindrome Enter a word: apple fruit apple fruit is not a palindrome eagle is not a palindrome Enter a...


ARRAY & STRING MANIPULATION




Create a java program that will check if a given word is a palindrome or not a palindrome.


EXPECTED OUTPUT:



Enter a word: racecar<br>racecar is a palindrome<br>Enter a word: nasabayabasan<br>nasabayabasan is a palindrome<br>Enter a word: apple fruit<br>apple fruit is not a palindrome eagle is not a palindrome<br>Enter a word: eagle<br>

Extracted text: Enter a word: racecar racecar is a palindrome Enter a word: nasabayabasan nasabayabasan is a palindrome Enter a word: apple fruit apple fruit is not a palindrome eagle is not a palindrome Enter a word: eagle

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here