#include <stdlib.h>
#include <stdio.h>
#define N 10
double fun(double x[],double *y)
{
int i,j; double av;
/**********found**********/
av=0.0;
/**********found**********/
for(i=0; i<N; i++)
av=av+x[i]\N;
for(i=j=0; i<N; i++)
/**********found**********/
if(x[i]>av) y[j++]= x[i];
y[j]=-1;
return av;
}
void main()
{
int i; double x[N],y[N
暑假作业二级题2
最新推荐文章于 2021-08-25 10:20:51 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)