Search:

Type: Posts; User: KingLane

Search: Search took 0.18 seconds.

  1. Replies
    4
    Views
    2,383

    Re: Problems with recursion

    Yes, you're right, helloworld922. I've made the changes. Thank you for your response.
  2. Replies
    4
    Views
    2,383

    Re: The code seems to work now

    I made a small change and the code seems to work now. The change I made is found within the first conditional statement of the checkPalindrome user-defined method. The code did read:


    ...
  3. Replies
    4
    Views
    2,383

    Re: Problems with recursion

    I made some corrections to the code and have posted the new code below. The program runs correctly if I input a string that does not contain any A's, T's, C's or G's, but still does not run properly...
  4. Replies
    4
    Views
    2,383

    Problems with recursion

    Hey guys,

    I am currently enrolled in a CS2 class and am working on a problem involving recursion. The problem is similar to checking that a string is a palindrome, but it's a little different. In...
Results 1 to 4 of 5