C++ array problem

Count the number of elements in the array when you read the file and fill the array.
Loop through the array adding all the elements.
The count of elements will be the number of times you repeat the loop.
the average is a double and will be the sum of array elements divided by the count of elements
I need something added on thest to make it work.
Last edited on
Can you give more information ? or more code which you have done .
Topic archived. No new replies allowed.