Yes, you're right, helloworld922. I've made the changes. Thank you for your response.
Type: Posts; User: KingLane
Yes, you're right, helloworld922. I've made the changes. Thank you for your response.
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:
...
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...
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...