61.0k views
1 vote
Create a program that takes a string from the command line and prints every permutation of that string You may assume the string will contain all unique characters. CLARIFICATION: You may print the permutations in any order, as long as you print them all. ş>. /perm dog do dog dgo odg og 9 gd gdo go god HINT: You may use a use a loop inside of your recursive definition

User Keaz
by
3.7k points

1 Answer

5 votes

Answer:

^_^

Step-by-step explanation:

¯\_(ツ)_/¯

User Monso
by
3.1k points