A good answer might be:The output is: 0 1 2 3 4 5 sum is 15 | ||||||
Top-driven Loop
Here is the example
Notice two important aspects of these loops:
| ||||||
QUESTION 5:Where should the initialization part of a loop be located in order to make it mentally easy to deal with? Click Here after you have answered the question |