loop has four components, such as:
i. loop initialisation. It is
the preparation required before entering a loop: setting accumulators and counters.
ii. loop body. This represents the main process of the loop. This is the code
within the braces
iii. loop
modification. Values calculated in the loop body are
rolled in to accumulators.
iv. loop exit. A condition to check for exiting the loop.
Comments
Post a Comment
any suggestion on my side