#include
#define m 6
int fun(int score[],int below[])
{
int aver,sum=0,count=0,i;
for(i=0; i
aver = sum/m;
for(i=0; i
below[count++] = score[i];
return count;
}
int main(void)
{
int score[m] = {85,78,64,90,70,82};
int below[m],i;
int a;
a = fun(score,below);
for(i=0; i printf("% d", below[i]);
printf("\n");
printf("%d\n",a);
return 0;
}
if(m<100){逐个比较,计数}else{类桶排序计数}return count;