minelem1.cpp

We use cookies. Read the Privacy and Cookie Policy

minelem1.cpp

#include ‹stl.h›

#include ‹iostream.h›

int numbers[6] = {-10, 15, -100, 36, -242, 42};

int main() {

 cout ‹‹ *min_element(numbers, numbers + 6) ‹‹ endl;

 return 0;

}