Thank you, helloworld922. That is a pretty obvious mistake that I should have caught.
Type: Posts; User: KingLane
Thank you, helloworld922. That is a pretty obvious mistake that I should have caught.
Hey everyone,
I am working on an assignment that concerns itself with linked lists. Below is the code for two user-defined classes. The class Node contains the instance variables, constructors,...
Okay, a friend helped me and the program is now working. I have reprinted the methods with the correct toPrint() formats below.
public class vehicleInfo {
public static void main(String[]...
I am having trouble printing object information in my main class. The class vehicleInfo is my main class and I have instantiated objects from the other classes. I'm trying to print that information...
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...