So I've gone through and found where my program is going wrong. It is when it is checking whether the next character in the input is a operator or not. I am really quite confused why this is...
Type: Posts; User: lieles
So I've gone through and found where my program is going wrong. It is when it is checking whether the next character in the input is a operator or not. I am really quite confused why this is...
Hi, I am supposed to write a program that will evaluate postfix expressions using a linked list stack. The user will input the expression on the command line and I have to check if each part of the...
There is something wrong with my min() method, I got max to work though.
public double maximum()
{
DoubleNode compare = head;
if(size() == 1){
return compare.getItem();
}else...
Hi, i keep getting an error saying that NaN might not have been initialized. I think its because there is something else is wrong with my code, but i am not sure what it is. I just started using...
Hi, I have having a lot of trouble with linked lists, i understand the theory, but I can't seem to figure out how to write the code. I have to make a linked list of doubles and finish writing the...