C program to calculate average

C program to calculate average

Output:

Enter the number of items: 5
Enter the items one by one to find its average:
1.5 2.5 3.5 4.5 5.5
The average of entered items is 3.500000

Implementation: