Question: in C++ Write a linked list class using nodes that contain a single integer. Prompt the user to enter integers, stopping when a sentinel value

in C++ Write a linked list class using nodes that contain a single integer. Prompt the user to enter integers, stopping when a sentinel value is entered. Add the integers to the end of your linked linked list in the order that they are entered. Do not add the sentinel value to the list. When all values have been added print the list. After printing delete your list. Your class should include, at a minimum, a constructor, a destructor, a print function, and an append function.

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!