{
int avg,sum = 0; //avg stores the average value;
int CNT = 0; //Store the number of elements in the B array;
for(int I = 0; I < count; i++)
sum+= a[I];
Avg = sum/count;
for(I = 0; I < count; i++)
if(a[I]& gt; Average value)
b[cnt++]= a[I];
Return cnt
}