A Collection of Code Snippets in as Many Programming Languages as Possible
This project is maintained by TheRenegadeCoder
Welcome to the Baklava page! Here, you'll find a description of the project as well as a list of sample programs written in various languages.
This article was written by:
Baklava is a Turkish dessert, and its shape is like an equilateral quadrangle. It is used as an example for programming education in Turkish schools.
In general, this solution can be accomplished using a pair of loops. Of course, all possible programs are welcome.
For simplicity, Baklava requires no inputs and can be executed in some form as follows:
$ ./baklava.lang
The following is the expected output:
*
***
*****
*******
*********
***********
*************
***************
*****************
*******************
*********************
*******************
*****************
***************
*************
***********
*********
*******
*****
***
*
Verify that the actual output matches the expected output (see Requirements).
There are 74 articles: