Permutations: Difference between revisions

m
→‎numbers: corrected a permutation. -- ~~~~
m (→‎numbers: added whitespace. -- ~~~~)
m (→‎numbers: corrected a permutation. -- ~~~~)
Line 2,226:
<lang rexx>/*REXX program shows permutations of '''N''' number of objects (1,2,3, ...).*/
parse arg n .; if n=='' then n=3 /*Not specified? Assume default*/
/*populate the first permuatationpermutation.*/
do pop=1 for n; @.pop=pop ; end; call tell n