C Program to calculate to the sum and average of elements of the array.


Sample Input
Enter the number of element U want to enter:5
Enter 5 elements to the array arr:4 6 6 7 6
Sample Output
The array elements are: 4 6 6 7 6
The sum of elements =29
The average of elements =5.800000

You may also like...