I am working on another linked list problem...really been struggling with this chapter dealing with lists...Here is the instruction for this example...
Write an algorithm to search a linked list with the first node pointed to by first for a given item and, if the item is found, return a pointer to the predecessor of the node containing the item...
I guess my major problem is I do not know how to perform a search and just want to see if I am on the right track...
float num = 0;
int number = 0;
ptr = first;
while (ptr! = null_value)
{
//perform the search
}
return ptr;