Create average.c