Brittany, you can't do cin >> number[i]..That will not read a value and store it in the array...Do something like this: ...Remember to add to my reputation!
That is
exactly how to read in a value into the array. Don't know where you get the idea it can't.
//Find the average
average = ( numbers[TOTAL_NUMBERS] + numbers[TOTAL_NUMBERS]) /10;
Since when is adding two numbers together then dividing by 10 giving an average?
Reputation Points: 3278
Solved Threads: 890
Posting Sage
Offline 7,718 posts
since May 2006