#include using namespace std; const int MAX_SIZE=10; int find_max(int array[], int size) { // First value is the max. int max=array[0]; // Find to see which one is greater than max. for(int i=1;imax) max=array[i]; } return max; } int main() { int a[]={25,5,3,80,11,200}; int max; max=find_max(a,6); cout << "Max: " << max << endl; return 0; }