uses crt;
var a,i,j : integer;
begin
clrscr;
write ('masukan angka : ');readln(a);
for i := 1 to a do
begin
for j := 1 to i do
write (j);
readln;
end;
end.
Output :
Subscribe to:
Post Comments
(
Atom
)
Ko hasilnya
ReplyDelete1
22
333
4444
55555
Ka?
Boleh minta scripnya ga.?
DeleteKlo di balik kaya gimna ?
ReplyDeleteKa kalo buat..
ReplyDelete1
22
333
4444
55555
Gimana caranya yah.?
kalo guna while gimana kak
ReplyDeleteKok gak jalan
ReplyDelete