Monday, 23 May 2016

Loop Components

 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.

No comments:
Write comments

Theme images by MichaelJay. Powered by Blogger.

Follow by Email

Blog Archive

Social stratification

Definition Social stratification is one of the results of ongoing social processes taking place. Every society is segmented into differen...

footer

Labels