Input: telephones telegram telecommunication
2nd input: tele
expected output: telecommunication telegrames telephones
actual output: telephones telegram telecommunication
This program is supposed to prompt the user for a sentence as I showed in the input, then it adds it to a linked list which I call a dictionary.
It will then prompt the user to look up words using 4 or less letters which I have shown in 2nd input, it will then alphabetize the words and spit them back out.
Everything works except the alphabetizing of the words in the linked list.