#include<algorithm>
max_value = *std::max_element(array, array+size);
max_value_index = std::max_element(array, array+size) - array;
For further actions, you may consider blocking this person and/or reporting abuse
#include<algorithm>
max_value = *std::max_element(array, array+size);
max_value_index = std::max_element(array, array+size) - array;
For further actions, you may consider blocking this person and/or reporting abuse
Lovelin -
babar ali -
Chris Jarvis -
Shraddha -
Top comments (0)