Program to demonstrate function overloading for calculation of average.