Coretan SiJay
التفكير والتحرك
beranda
Home
Download
Albums
Kritik & Saran
Makalah
Tips
Net
Artikel
Saturday, 24 December 2011
Perulangan down to (segitiga bintang)
program segitiga;
uses crt;
var i,j,n:integer;
begin
clrscr;
write('Masukkan jumlah baris = ');readln(n);
for i:=n downto 1 do
begin
for j:=1 to i do
write('*');
writeln;
end;
readln;
end.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment