04. Array Rotation
https://pastebin.com/Vi9D4f14
Здравйте! Гърми ми един тест от 4 задача от arrays exersice. Ще съм ви благодарен, ако ми откриете грешката!
Create a program that receives an array and several rotations that you have to perform. The rotations are done by moving the first element of the array from the front to the back. Print the resulting array.
Examples
Input Output
51 47 32 61 21
2 32 61 21 51 47
32 21 61 1
4 32 21 61 1
2 4 15 31
5 4 15 31 2