Hello once again . My teacher has given us the assignment to enter a string a maximum of 7 charecters and permute it.
Then print all of possible permutations . Like if the inputted word is
JAY so Output would be
JAY
AJY
AYJ
JYA
YAJ
YJA
I do not seem to understand how to go about it. Please help.
I wish to know about some initial logic before developing the right code.
Thank you in advance.
hinduengg