Question: I need this written in C++ Enter a string through the keyboard. For end use Ctrl+A. Create a list containing the characters of the string

I need this written in C++

Enter a string through the keyboard. For end use Ctrl+A.

Create a list containing the characters of the string (nodes should be of data type char).

Print the list.

Divide the starting list into two sublists:

The first list should contain only the letters in the list (isalpha())

The second list should contain all the remaining characters in list

Reconnect the lists in order to put the second list at the beginning of the first list (the last element of the second list should be connected with the first element of the first list).

Print both lists.

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!