满意答案
smalllv
2013.09.09
采纳率:41% 等级:12
已帮助:5804人
/*********************************************
题目:一个存放学生成绩的一维数组score,编程求平均成绩、最高分和最低分
*****************************************************/
# include
# define size 100
using namespace std;
float sum = 0;
//函数声明
float cal_average(float *a,int i,int n);
float max(float a[],int n) ;
float min(float *a,int n) ;
int main()
{
int n;
float average;
float max1;
float