C program to calculate average of n numbers

C program to calculate average of n numbers

Output:

How many numbers: 5
Enter the numbers:
1 2 3 4 5
The average of 5 numbers is 3.000000

Implementation: