Perbandingan Repeat-Until dengan While-Do

Perbandingan Repeat-Until dengan While-Do

Struktur Repeat-Until Struktur While-Do
Var I : integer ; Begin I := 10 ; Repeat Writeln ( i ) ; I := i + 1 ; Until i > 5 ; End. Var I : integer ; Begin I := 10 ; While i < 5 do ; Begin Writeln ( i ) ; I := i + 1 ; End ; End.

Post Comments:

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s