Skip to content

Palindrome Checker Program in Java #88

Description

@souravCoder1

🧩 Description

Create a simple Palindrome Checker program in Java.

The program should take a string input from the user and check whether it is a palindrome or not (a word, phrase, or number that reads the same backward as forward).

This helps beginners practice string manipulation, loops, and conditional logic in Java.


🧠 Problem Statement

Take a string input from the user and determine if it is a palindrome.
Ignore case sensitivity and spaces while checking.


🧪 Example

Input:
Enter a string: Racecar

makefile
Copy code

Output:
Yes, it's a palindrome! 🚀


✅ Expected Approach

  1. Take input using Scanner
  2. Convert to lowercase
  3. Remove spaces
  4. Reverse the string (using manual loop or StringBuilder)
  5. Compare original and reversed strings
  6. Display the result

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions