I am trying to print all the permutations of the string "This Is Demo" word by word. For example valid permutations will be "This Demo Is", "Demo Is This", "Demo This is". My program is not printing all the permutations. What's wrong with the code?I am trying to print all the permutations of th