is there a function in c++ to check for maximum value in array code example
Example: find max value in array c++
cout << " max element is: " << *max_element(array , array + n) << endl;
cout << " max element is: " << *max_element(array , array + n) << endl;