Write a barber pole program. The program will prompt for a character string of up to 10 characters. The program will then print 10 lines. After each line, the string is rotated to start at the next character. The result will look like a barber pole.
Modify the program to print the barber pole followed by 10 lines where the barber pole is printed in reverse character order.