A Collection of Code Snippets in as Many Programming Languages as Possible
This project is maintained by TheRenegadeCoder
Welcome to the Baklava in Julia page! Here, you’ll find the source code for this program as well as a description of how the program works.
#!/usr/bin/julia
function main()
for i = 0:10
print(" "^(10 - i))
println("*"^(i * 2 + 1))
end
for i = 9:-1:0
print(" "^(10 - i))
println("*"^(i * 2 + 1))
end
end
main()
Baklava in Julia was written by:
If you see anything you’d like to change or update, please consider contributing.
Note: The solution shown above is the current solution in the Sample Programs repository as of Mar 27 2019 14:00:36. The solution was first committed on Oct 04 2018 17:07:58. As a result, documentation below may be outdated.
No ‘How to Implement the Solution’ section available. Please consider contributing.
No ‘How to Run the Solution’ section available. Please consider contributing.