
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.


while (condition) do (statement);Algoritma dalam pengeksekusian scriptnya adalah sebagai berikut:
program contoh1; var x: integer; begin x := 10; // nilai awal x while x <= 20 do // pengecekan while apakah x <= 20, jika iya kerjakan statment di bawah : begin if (x mod 2) = 0 then // pengecekan sisa hasil bagi 2, jika 0 maka genap write(x,' '); x := x + 1; // counter pertamnbahan x end; readln; endHasilnya :
10 12 14 16 18 20
repeat (steatement1); (steatement2); ... ... (steatementN); until (condition);
program contoh2; var a: integer; begin a := 1; repeat // ulang-kerjakan if (a mod 2) = 1 then // pengecekan sisa hasil pembagian 2, jika 1 bilangan genap write(a,' '); a := a + 1 until a = 20; // pembatasan repeat end.Hasilnya :
1 3 5 7 9 11 13 15 17 19
program infinitieloop; var a: integer; begin a := 2; repeat write(a,' '); a := 2 until a = 3; end.Program tersebut akan terus berulang dan tidak selesi karena nilai variable a tidak mungkin akan sama dengan 3.