C program to find average using while loop

C program to find average using while loop

Output:

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

Implementation: