Read the note on string variables, and, when you thoroughly understand it, write a program that does exactly the same thing as our permutation program.
You could do this program without using variables, but do not. Assign the three names to string variables, then display the permutations.
Note the tab order of my program -- yours should be the same.