I know what you want your program to do, but I don't know how you want it to be done. Should the user enter five numbers and then enter the number of times to rotate it? Or do they enter the number they want to be the first number? Only you know.
the user enter five number and then the program will be return output that the last number will be at the first. example: 1 2 3 4 5, then the output is 5 1 2 3 4.
or 6 7 8 9 10, the output is 10 6 7 8 9.