Ive been reading through this code and there are a few things I dont understand now. I thought the mean value worked out would be stored in the meanValue, is this correct?
void sortMiddle(float myList, float middle, float inferior, float superior)
int counter1=0, counter 2=0, counter 3=0;
if (myList[counter1] <= middle)
However in the second part of the code (above) there are no checks to see if the number read in the myList is bigger or smaller than this. It is only checked against middle, and middle doesnt seem to be assigned a value.