Floyd's triangle: Difference between revisions

The last line should only have one space between values
(The last line should only have one space between values)
Line 63:
 
=={{header|360 Assembly}}==
{{incorrect|360 Assembly|The last line should only have one space between values}}
A very concise coding, an illustration of CISC power of the S/360 operation codes. Also an example of the use of EDMK and EX instructions.
For macro usage see [[360_Assembly_macros#360_Assembly_Structured_Macros|Structured Macros]] .
Line 3,686 ⟶ 3,687:
92 93 94 95 96 97 98 99 100 101 102 103 104 105 </lang>
 
{{incorrect|Julia|The formatting requirement (2.2) is not met.}}
=={{header|Julia}}==
{{incorrect|Julia|The last line should only have one space between values}}
<lang julia>function floydtriangle(rows)
r = collect(1:div(rows *(rows + 1), 2))
2,467

edits