Thursday, February 5, 2015

Java Palindrome checker

I created a program the accepts a string and checks if it is a palindrome. It is not case sensitive but it will not work with sentences Unless you do not include the spaces between words. There are two classes the main chapter 3 class and the checker class. The checker class checks if it is a palindrome and if it is it prints a line saying that and if not it doesn't. the chapter 3 class get input and sends it to the checker class.


Chapter 3 Class:


Checker Class:



No comments:

Post a Comment