阅读下列函数,写出函数的主要功能。floatav(floata[],intn){inti;floats;for(i=0,s=0;iretum(s/n);}
主要功能:求数组各元素的平均值
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/442148.html
上一篇:我国《涉外民事关系法律适用法》中有关父母子女关系法律适用规则体现了,
下一篇:Correct or improve the translation of the following Chinese sentences.原文:有一年的冬初,四叔家里要换女工,做中人的卫老婆子带她进来了• 译文:Early one winter, my uncle’s family wanted a new maid, Old Mrs. Wei, the go-between, brought her along.改译: