c++
Write function that takes an array of doubles and the array length as parameters (compute the array length using size of, don't just put in the number 5). In the function, find and return the largest value.Write second function like the first that finds and returns the smallest value.
double numbers[] = {4.5, 3.4, 5.6, 9.1, 6.7, 7.8 };