Permutations: Difference between revisions

m
Line 2,811:
endif
 
loopuntil i = 0</syntaxhighlight>
{{out| Output}}<pre>1 2 3
 
1 3 2
end</syntaxhighlight>
2 1 3
2 3 1
3 1 2
3 2 1 </pre>
 
=={{header|Crystal}}==
305

edits