how to do this array program, anyone?
here the question:
A permutation of three letters,a,b, and c is any arrangement of these letters in a row. For example, some of the permutation of these characters are abc, bca, and cab. the number of distinct permutations of three different characters is 6. design a solution where given any three letters,you could produce the six distinct permutation of those letters.
i'm still new in array.. so i may need anyone help on this.. =)