Question: Visual Studio: C++ Instructions: Write a complete C++ program that will implement the function DeleteNodes. DeleteNodes will take in a number as an argument. It
Visual Studio: C++
Instructions: Write a complete C++ program that will implement the function DeleteNodes. DeleteNodes will take in a number as an argument. It will remove EVERY node that has that number in its value member.
Demonstrate that the DeleteNodes function works in a driver program.
Sample Run:

Notes:
To ensure that the DeleteNodes function will be somewhat efficient, do not make any function calls to any other function in DeleteNodes. Also, do not use a nested loop in the body of DeleteNodes.
How many numbers do you want to append? 5 Input a number Input a number 2 Input a number Input a number 3 Input a number What number do you want to delete? Linked List Contents -> 2 3 Press any key to cont inue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
