A Collection of Code Snippets in as Many Programming Languages as Possible
This project is maintained by TheRenegadeCoder
Welcome to the Baklava in Pascal page! Here, you'll find the source code for this program as well as a description of how the program works.
program Baklava;
var
n, i, j, k, space: integer;
begin
n := 11;
space := n - 1;
for i := 1 to n do
begin
for j := 1 to space do
write(' ');
space := space - 1;
for k := 1 to (2 * i - 1) do
write('*');
writeln;
end;
space := 1;
for i := (n - 1) downto 1 do
begin
for j := 1 to space do
write(' ');
space := space + 1;
for k := (2 * i - 1) downto 1 do
write('*');
writeln;
end;
end.
Baklava in Pascal was written by:
If you see anything you'd like to change or update, please consider contributing.
No 'How to Implement the Solution' section available. Please consider contributing.
No 'How to Run the Solution' section available. Please consider contributing.