Welcome to the Palindrome Checker! This little program helps you determine if a word or phrase is a palindrome. ദ്ദി(˵ •̀ ᴗ - ˵ ) ✧
- Input: Enter any word or phrase.
- Processing: The program cleans the input by removing non-alphanumeric characters and converting it to lowercase.
- Check: It then checks if the cleaned string reads the same forwards and backwards.
- Output: You'll get a cute message telling you if your input is a palindrome or not! ◝(ᵔᗜᵔ)◜
-
Clone the Repository:
git clone /~https://github.com/your-username/palindrome-checker.git cd palindrome-checker
-
Compile the Code:
javac Checker.java Palindrome.java
-
Run the Program:
java Palindrome
-
Enter Your Word/Phrase:
Enter a word/phrase: A man, a plan, a canal, Panama
-
See the Result:
A man, a plan, a canal, Panama is a palindrome :).
Checker.java
: Contains the logic for cleaning the string and checking if it's a palindrome.Palindrome.java
: Contains the main method to run the program.
- Case Insensitive: Checks palindromes without worrying about uppercase or lowercase.
- Ignores Non-Alphanumeric Characters: Spaces, punctuation, and special characters are ignored.
Feel free to fork this repository and make your own improvements! Pull requests are welcome. (ᴗ͈ˬᴗ͈)ꕤ.゚