Baklava in Crystal

Published on 17 September 2018 (Updated: 17 September 2018)

Welcome to the Baklava in Crystal page! Here, you'll find the source code for this program as well as a description of how the program works.

Current Solution

a = -1
loop do
  a += 1
  puts ((" " * (10 - a)) + ("*" * (a * 2 + 1)))
  break if a == 10
end

b = 10
loop do
  b -= 1
  puts ((" " * (10 - b)) + ("*" * (b * 2 + 1)))
  break if b == 0
end

Baklava in Crystal was written by:

If you see anything you'd like to change or update, please consider contributing.

How to Implement the Solution

No 'How to Implement the Solution' section available. Please consider contributing.

How to Run the Solution

No 'How to Run the Solution' section available. Please consider contributing.