average2.c - Version of average.c that uses a function declaration.