Capco Interview Question

Program to reverse each word in a given sentence