You have to implement a function to return a largest integer in array
Question- Provide an implementation of the function above.
The first argument of the function is a vector of int and the second argument is the number of consecutive integers to append to the vector starting from 0 and ending at "n - 1".
The function returns the largest int that is in the array.
The program code should use assertions. I am having difficulty with this program because I do not know where to start with.