Question: linked list Write a program to read a line of text from the user and store each character in a separate node in a linked

linked list  linked list Write a program to read a line of text

Write a program to read a line of text from the user and store each character in a separate node in a linked list of characters. After you have read the text, delete non-alphabetic characters (except spaces) and change all lower case letters to upper case. Print the final linked list on the screen. Example run: Enter your line of text: Wh2ere theSe is a wil/1, there i-s a wtay! Your output: WHERE THERE IS A WILL THERE IS A WAY You may need the following functions: Insertnode Inserts a new element in the linked list Deletechars: Deletes non-alphabetic characters (excluding spaces) from the list Printlist Prints the linked list. Write a program to read a line of text from the user and store each character in a separate node in a linked list of characters. After you have read the text, delete non-alphabetic characters (except spaces) and change all lower case letters to upper case. Print the final linked list on the screen. Example run: Enter your line of text: Wh2ere theSe is a wil/1, there i-s a wtay! Your output: WHERE THERE IS A WILL THERE IS A WAY You may need the following functions: Insertnode Inserts a new element in the linked list Deletechars: Deletes non-alphabetic characters (excluding spaces) from the list Printlist Prints the linked list

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!