Objek Kotak

program kotak;
uses crt;
var
ch : char;
begin
clrscr;
window(2,2,20,8);
textbackground(9);
clrscr;
window(22,2,40,80);
textbackground(1);
clrscr;
window(42,2,60,8);
textbackground(2);
clrscr;
window(62,2,80,8);
textbackground(3);
clrscr;
window(2,14,20,22);
textbackground(4);
clrscr;
window(22,14,20,22);
textbackground(5);
clrscr;
window(42,14,60,22);
textbackground(6);
clrscr;
window(62,14,80,22);
textbackground(7);
clrscr;

ch:=readkey;
end.

Tinggalkan Balasan

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

%d blogger menyukai ini: