rotation of a string

write a programe that will print out all the rotations of a string typed into it.for example the rotation of word space is (space , paces , acesp , cespa , espac )


help me in this regard im new to it as soon as possible
Last edited on
Topic archived. No new replies allowed.