I am currently writing a program and am getting stuck in with what I should add in next.
What I need:
1. Use a linear search function to search a two dimensional vector.
2. Generate a two dimensional test vector of integers by using random number generator, integers should be in [0, 70]; the vector size should be 4 rows and 5 columns. (4*5)
3. Let the user input number to be searched.
4. The function should accept one two dimensional vector of integers and a number to search for. If the number is found, print out the number and “Number found!” If not print out “Number isn’t found!”. And output the rows and columns(Start from 1). If there are duplicate numbers in the vector, find the
first one.
5.You may need iterator to search.
6.Keep doing steps above until get negative integer
I know this isn't too code heavy so if anyone could help me with some of the pseudocode, it would be appreciated.