#include<iostream>
using namespace std;
double maxgoal(double *goal,int size);
int main(){
   const int size=5;
   double goal[size]={66,55,67,98,78};

   cout<<"×îºÃ³É¼¨ÊÇ£º "<<maxgoal(goal,size)<<endl;
   return 0;

}
double maxgoal(double *goal,int size){
   double max=goal[0];
   for(int i=1;i<size;++i){
      if(goal[i]>max)
		  max=goal[i];
   }
   return max;
}