tempat BERJUANG
About Me
- arista WHIE
- hai.. welcome to my blog... namaku wiwik.. Asli BALI.. aku kuliah di ITS jurusan STATISTIKA.. NRP 1311100020.. silahkan menikmati blogku.. see it n' enjoy it... semoga bermanfaat... kalau ad kurang g usah sungkan kasi komentar ya..
Diberdayakan oleh Blogger.
Pengikut
Kamis, 03 November 2011
program bintang2
program bintang;
uses wincrt;
var i,j,n :integer;
begin
readln (n);
for i:=2*n-1 downto 1 do
begin
for j:=n downto 1 do
begin
if ((j>i) or (j>(2*n-1)-i+1)) then
write (' ') else
write ('*');
end;
writeln ;
end;
end.
uses wincrt;
var i,j,n :integer;
begin
readln (n);
for i:=2*n-1 downto 1 do
begin
for j:=n downto 1 do
begin
if ((j>i) or (j>(2*n-1)-i+1)) then
write (' ') else
write ('*');
end;
writeln ;
end;
end.
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar