diff --git a/mm.c b/mm.c index f6a16e5..a42b1e0 100644 --- a/mm.c +++ b/mm.c @@ -14,12 +14,20 @@ int numcmp (const void *a, const void *b) { float mean (int* values, int length) { //float function to calculate upto two decimal places float sum = 0; - for (int i=0; i