Q29. Write a code for Left array rotation

Array Rotation:- Array rotation means moving array elements to the left or right of an array by specific position. An array can be moved to the number of given positions by rotating left (clockwise) or right (anti-clockwise). Here we will be discussing left array rotation.

Algorithm For Left array rotation

START

Stop

Code For Left array rotation

Output

9,11,13,15,2,5,7

 

Recommended Programs
Program to find factorial of a number
Program to count number of digits in a number