Microsoft Interview Question

Write a program that reverses a word