Write a function with three parameters. The first parameter is a head pointer fo
ID: 3560615 • Letter: W
Question
Write a function with three parameters. The first parameter is a head pointer for a linked list of items, and the next two parameters are x and y. The function should write to the screen all items in the list that are between the first occurrence of x and the first occurrence of y. You may assume that items can be compared for equality using ==.