09.10.2014 Views

download pascal tutorial (pdf - Tutorials Point

download pascal tutorial (pdf - Tutorials Point

download pascal tutorial (pdf - Tutorials Point

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER<br />

10<br />

Loops<br />

This section shows loop statements used in Pascal :<br />

There may be a situation, when you need to execute a block of code several<br />

number of times. In general, statements are executed sequentially: The first statement in<br />

a function is executed first, followed by the second, and so on.<br />

Programming languages provide various control structures that allow for more complicated<br />

execution paths.<br />

A loop statement allows us to execute a statement or group of statements multiple times<br />

and following is the general form of a loop statement in most of the programming<br />

languages:<br />

TUTORIALS POINT<br />

Simply Easy Learning Page 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!