Floyd's triangle: Difference between revisions

Content added Content deleted
Line 3,689: Line 3,689:


=={{header|Julia}}==
=={{header|Julia}}==
{{incorrect|Julia|The last line should only have one space between values}}
<lang julia>function floydtriangle(rows)
<lang julia>function floydtriangle(rows)
r = collect(1:div(rows *(rows + 1), 2))
r = collect(1:div(rows *(rows + 1), 2))