I can never remember whether this kind of thing requires permutations or combinations; and the quickest way for me to be sure is to write the three lines of code it takes to check.
Once those three lines are written, don't you think it would be bloody mean to withhold them, just so that those who's only contribution to PM is to post "This isn't a code writing service.", are proved correct?
In reply to Re^2: Perl program to generate a descending order of 9-unique digit numbers
by BrowserUk
in thread Perl program to generate a descending order of 9-unique digit numbers
by amar712
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |