diff --git a/mm.c b/mm.c index ff1779f..fd97905 100644 --- a/mm.c +++ b/mm.c @@ -12,6 +12,18 @@ int numcmp (const void *a, const void *b) { return 0; } +int mean(int* list, int length){ + int m=0;//m is the mean that will be calculated then return + int i; //a counter + + for (i=0; i