Fusion Practices Interview Question

Write a program to rotate a given string n times.