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
Get step-by-step solutions from verified subject matter experts
