C program to calculate average of marks

C program to calculate average of marks

Output:

Enter the number of subjects:
5
Enter the marks of each subject:
90 90 90 90 90
Average = 90.000000

Implementation: