GENIAFEST TECH
program segitiga_bintang_2;
uses wincrt;
var
i,j,n:integer;
begin
write('Masukkan ukuran segitiga = ');readln(n);
for j:=1 to n do
begin
for i:=1 to j do
write('*');
writeln;
end;
readln;
end.
program segitiga_bintang_2;
uses wincrt;
var
i,j,n:integer;
begin
write('Masukkan ukuran segitiga = ');readln(n);
for j:=1 to n do
begin
for i:=1 to j do
write('*');
writeln;
end;
readln;
end.