How do I modify this program to track the numbers guessed by the user using a linked list. So basically, i need to keep track if someone already guesses a number and then output if the user did.
You don't need a linked list to keep track of previously made guesses. A simple boolean array would work. I added a count of the number of guesses made as well.