Write a function which accepts an array of size n containing integer values and returns the average of all values. Call the function from main program.

a) Write a function which accepts an array of size n containing integer values and returns the average of all values. Call the function from main program.

Leave a Reply