How to print all the possible combinations of a given integer ?

.
for eg 12 is the entered no.
then print 12, 21
if 123 is entered no
then print 123, 231, 321, 132, 213, 312.

Showing Answers 1 - 3 of 3 Answers

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions