|
|
...show the value of the loop control variable at the start of each repetition |
...show the value of sum at the end of each loop repetition. |
...show the value of the loop control variable at the start of each repetition I'd read this to mean that you should put an output statement (e.g. std::cout) at the beginning of the iteration of the for loop to output the value of i (before line 4 is executed) ...show the value of sum at the end of each loop repetition. Similar to above - but outputting the value of sum after line 4 is executed. |