阅读下列函数,写出函数的主要功能#includefloat a(float a[],int n){ int i;float s;for(i=0,s=0;i

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/04 17:34:45
阅读下列函数,写出函数的主要功能#includefloat a(float a[],int n){ int i;float s;for(i=0,s=0;i

阅读下列函数,写出函数的主要功能#includefloat a(float a[],int n){ int i;float s;for(i=0,s=0;i
阅读下列函数,写出函数的主要功能
#include
float a(float a[],int n)
{ int i;float s;
for(i=0,s=0;i

阅读下列函数,写出函数的主要功能#includefloat a(float a[],int n){ int i;float s;for(i=0,s=0;i
求数组里面所有数的平均值

把数组里的数据加起来,然后取平均值吧,大二学的c,现在忘得差不多了