Using the following lines of code, complete the following fu…
Using the following lines of code, complete the following function called compute_grades, which accepts a vector of student grades (initialized as it is in the following example) as an argument to the compute_grades function’s parameter of the same name…vector gradelist = {85, 90, 95, 82, 96, 91, 30, 59, 43, 72, 75, 78};… and determines the average of the list of grades, as well as the highest and lowest grades in the list: void compute_grades(vector gradelist) {} (Hint: Recall that we can get the size of a vector using its size() method, and that we can access a single element by its position within the vector using square brackets.)