描述:Metal Film Resistors - Through Hole Manufacturer:TT Electronics Product Category:Metal Film Resistors - Through Hole Product Attribute:Attribute Value
/*返回数组指定部分数值的平均值array:要分析的数组index: 起始索引len: 长度return:平均值*/double Average(unsigned long *array,unsigned int index,unsigned int len){double aver=0,count=index;int i;for(i=index;i(len-index);i++){ aver+=
评论