You just put it in the same for-loop, but it just does something differently.
Your array is of size 7. Your first loop runs 6 times. Which is a problem. Remember array indexes start from 0. So your array of size 7 goes from 0-6, so the for-loop should look like this -
1 2 3 4
for(int i = 0; i < 7; i++)
{
//Do ya thang here
}
That will run from 0-6.
Then you will need an identical loop, to print out each content within the array, and also store each individual value in the array (scores[0], scores[1] etc) inside a variable double total;
And then outside the for loop at the end just print out the total.
If you enter seven numbers separated by a space character instead of a end of line character (enter) your output is to be expected. Remember the insertion operator>> stops processing input when it encounters a whitespace character, leaving any unprocessed characters in the input buffer for the next input operation.