permutation of words

What code would you use to ask someone to input 4 words, and the permutation of those words pops up?
Topic archived. No new replies allowed.