Skip to content

Commit

Permalink
parent prints mean. This fixes smuos#6
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuha99 committed Oct 1, 2014
1 parent e04df1a commit 0305473
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ int main(int argc, char *argv[]) {
fprintf(stdout, "median=%.2f\n", medianVal);
} else { // parent goes down this path (main)
meanVal = mean(pt, length);
fprintf(stdout, "mean=%.2f\n", meanVal);
fprintf(stdout, "\n%s: FIN. \n", argv[0]);
}

Expand Down

0 comments on commit 0305473

Please sign in to comment.