No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Palindrome Checker

A palindrome is a word, phrase, number, or other sequence of characters which reads the same backward or forward. Allowances may be made for adjustments to capital letters, punctuation, and word dividers. Famous examples include "A man, a plan, a canal, Panama!", "Amor, Roma", "race car", "taco cat", and "No 'x' in Nixon".

Suggested steps to complete this assignment

  1. Fork and clone down this repository.
  2. Run the program. You should see the following output:
    there are 6 lines
    test is NOT a palidrome.
    rotator is NOT a palidrome.
    rewriter is NOT a palidrome.
    nurses run is NOT a palidrome.
    Madam, I'm Adam! is NOT a palidrome.
    A Man! A Plan! A Canal! Panama! is NOT a palidrome.
  3. Start by finishing the reverse() and palindrome() methods. You'll want the program to print that "rotator" is a palindrome and "test" and "rewriter" are NOT palindromes. You may find the custom codingbat problems reverse and isPalindrome helpful.
  4. Once you get the program working correctly for "rotator","test" and "rewriter", you'll need to devise a strategy for working with spaces and capital letters. You may find one or more of these custom codingbat problems helpful: noCapitals, noSpaces, numLetters, and onlyLetters.
  5. Submit the URL of your GitHub repository to the School Loop drop box for the assignment. Note that like the previous two assignments, this assignment has no graphics or website.