Fill This Form To Receive Instant Help
Homework answers / question archive / - Create an array of size 7 of integers 1, -9, 10, 20, 5, 6, 7
- Create an array of size 7 of integers 1, -9, 10, 20, 5, 6, 7 . You can set these numbers in the code with initialization.
- Write a function that accepts an array and returns the location/index of any value passed to the function. Test it with value 20 and value -1 *HELP: this is linear search
- Test it with value 7 and write code in your “main” to see if it is the last element in the array