Guest User

Untitled

a guest
Jan 22nd, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1.  
  2.  
  3.  
  4. else if (Character.isLetterOrDigit(charRight) = false)
  5. right--;
  6. else if (Character.isLetterOrDigit(charLeft) = false)
  7. left++;
  8. else
  9. break;
  10. System.out.println();
  11.  
  12. if (left > right)
  13. System.out.println("That phrase or word is not a palidrome.");
  14. else
  15. System.out.println("That is a palidrome!");
Add Comment
Please, Sign In to add comment