I would like to know how to write code for a right circular shift aka lazy susan. Its an array with 10 elements let me show you and example
first time throw array it prints
1,2,3,4,5,6,7,8,9,10
second time throw after right circular shift of 3 places for example it prints
8,9,10,1,2,3,4,5,6,7
and so on. if there is anyone that can help that be just great.