#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
vishal.codes -
Jeff Everhart -
Hisbenew Industries -
Saif Hussain -
Top comments (0)