Question: 1.Create a vector array of 20 unique numbers using random function of(1-100)elements. 2. Perform linear search for an element within the values{header:int linear search(vector V,
1.Create a vector array of 20 unique numbers using random function of(1-100)elements.
2. Perform linear search for an element within the values{header:int linear search(vector
3.Develop a customized function to print all 20 elements.
4. Find the position of the numbers found within the vector and then print it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
