I need to make a program that asks users to enter 5 words; and prints the list of palindrome and not palindrome words.
If user input is: dad, 123, mom, xyz, racecar
The output will be:
Palindrome: dad, mom, racecar
Not palindrome; 123, xyz
Note: Perform palindrome check using a loop; also implement the palindrome check in a method with in the program
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here