07-10-2003, 02:43 AM
Hmm, this has probably been challanged before, but...
Can one make a program where, given letters in a list (a DATA statment) and the number of letters, all different combinations of those letters could be outputted to a file?
So if I put this as my data stament:
The file (output.txt or something) would print
I'm working on one...
Can one make a program where, given letters in a list (a DATA statment) and the number of letters, all different combinations of those letters could be outputted to a file?
So if I put this as my data stament:
Code:
DATA T, H, E
The file (output.txt or something) would print
Code:
THE
TEH
HET
HTE
ETH
EHT
I'm working on one...
size=9]"To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." -- Theodore Roosevelt[/size]