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.
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.
in C and CPP