User input array problems

I am being asked to take the average of an array that is supposed to be populated by the user. I have already setup the averaging function and am just having a blank on how to properly fill the array with the users input. Please help, Thx.
Using a for loop, loop through every element of the array.
1
2
3
for(int i = 0; i < size - 1; i++){
     cin >> arr[i];
}
Topic archived. No new replies allowed.