Giter Site home page Giter Site logo

palindromechecker's Introduction

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, or fork this Palindrome Checker on repl.it.
  2. Run the program. You should see the following (incorrect) 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. Since there is no website for this assignment, submit the URL of your GitHub repository to Google Classroom. It will have the form http://github.com/ your github username /PalindromeChecker

palindromechecker's People

Contributors

simart avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.