int sum(0), count;
for (count=0; count<=4; count++)
sum += count;
cout ≪ "sum = " ≪ sum ≪ endl;
Circle the letter for the best answer to complete each statement or for the correct answer to each question.
What would you see on the screen if these statements were executed?
(a) sum = 1
(b) sum = 6
(c) sum = 10
(d) four lines of output
(e) error message
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.