C program to find average using function

C program to find average using function

Output:

Enter the number of elements:
5
Enter the value of each element:
90 90 90 90 90
Average = 90.000000

Implementation: