program mencetak_jajargenjang;
uses wincrt;
var i,j,k,l,n : integer;
begin
write('input nilai n= ');
readln(n);
for i:=1 to n do
begin
for j:=i to n do
begin
write(' ');
end;
for k:=1 to n do
begin
write(' *');
end;
writeln;
end;
readkey;
end.
Tuesday 19 November 2013
program jajargenjang
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment