#include<iostream> usingnamespacestd; floatAvelD(float[],int); intmain() { floatx[100],average,num=1000.0; inti,total=100; for(i=0;i<100;++i) { x[i]=num; num++; } average=AvelD(x,total); cout<<"平均:"<<average<<endl; return0; } floatAvelD(floattemp[],inttotal) { ...