palindrome

A java programme that determines whether a given word is a palindrome

Comments

  • : A java programme that determines whether a given word is a palindrome
    :
    Loop through the string until you reach half its length. Check wether the i-th amd (length-i)-th character are the same. If they are not, then the word isn't a palindrome.
    For source ocde search these boards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion