Question: Design the following menu-driven application using C++ Vector class. Implement the following five functions: 1. Add(vector int> &num) Prompts the user to provide a number

Design the following menu-driven application using C++ Vector class. Implement the following five functions: 1. Add(vector int> &num) Prompts the user to provide a number and add that number into the vector 2. Remove vector int &num) Prompts the user to provide a number. If the number is found in the vector, it removes that number. Otherwise, it 3. Show(vector-int> &num) Show the existing members of the vector (order does not matter) It will generate a message if there is no existing member available
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
