Looping at Pascal

We know,in the some programming language,there is the term ‘looping’,like in the programming of  PHP,Javascript,and many more.

Looping is the condition,where the program will repeat the syntax,like this.

Hello World!
Hello World!
Hello World!
Hello World!
Hello World!

How to make Looping in the Pascal ?   I will show this syntax,let’s learn it.

program looping;
uses wincrt; {I'm using TP for Windows}
var a:integer; {Define A variable as Integer}
begin
while (n<100)
do writeln('Hello World');
end.

~~~

If  you’re succes make the program,so you will see this.

Let's try it ! Good Luck :D

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s