Search:

Type: Posts; User: ryan.sampson

Search: Search took 0.19 seconds.

  1. Replies
    12
    Views
    1,452

    Re: Testing for a Palindrome

    so using the debugger... its going thru the letters correctly, the problem is it gets the left and it gets the right, but even though left == right is there, and if they aren't the same, it keeps...
  2. Replies
    12
    Views
    1,452

    Re: Testing for a Palindrome

    ok i'm moving forward... i got it to run all the way through.. but it now thinks that everything is a palindrone.. leading me to believe that it is skipping parts.. here is the updated code:

    ...
  3. Replies
    12
    Views
    1,452

    Re: Testing for a Palindrome

    i've been working with the debugger for hours now..
    i've changed it a bit but here is what i'm getting for a response:


    Enter the text to be edited: atoyota
    Edit: pal
    Exception in thread...
  4. Replies
    12
    Views
    1,452

    Re: Testing for a Palindrome

    should it be:

    String str = "hello";
    System.out.println(str);
  5. Replies
    12
    Views
    1,452

    Re: Testing for a Palindrome

    I'm not sure how to use the advanced.. but here goes..

    so this is the part that isn't correct:
    } else if (function.equals("pal")){
    text = palindrome(String text);

    the other part is this:
    if...
  6. Replies
    12
    Views
    1,452

    Testing for a Palindrome

    So I have this very simple program, it is designed to be a simple text editor. You type in a text, and you have a few options, including add words and replace words etc.. the one thing that i cannot...
Results 1 to 6 of 6