LUTFIBROWN's SIMPLE CODE
Praktek adalah metode belajar paling efektif.. :D
Monday, 22 October 2012
Program Cetak bintang Ascending (PASCAL)
Program Barisan_Bintang;
uses crt;
var
n,i,j:
integer
;
begin
write
('Masukkan jumlah baris bintang : ');
readln
(n);
writeln
('================================');
for
i:=1
to
n
do
begin
for
j:=1
to
i
do
write
('*');
writeln
();
end;
readkey();
end.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment