Capco interview question

Write code that will print a string of words backwards.