How to find average numbers in array in C Programming?

Posted by Editorial Staff | Updated on

In this answer, we have shared how to calculate average of array using c programming language. We shall use a loop and sum up all values of the array.

Then we shall divide the sum with the number of elements in the array, this shall produce average of all values of the array.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers