Array rotation in Raptor Flowchart
Overview
In this tutorial, we will learn how to rotate an array in Raptor flowchart. We will rotate the array elements one step to the right. For example, if the original array is:
1 2 3 4 5
The rotated array would be:
5 1 2 3 4
Most of the modules in the flowchart are common in this article. Pass an array to a Raptor procedure:
https://www.testingdocs.com/questions/how-to-pass-an-array-in-raptor-flowchart/
The only additional module is to rotate the array. We will model a procedure to rotate the array.
Flowchart
Procedure to rotate an array to right direction one step.
Output
Raptor Tutorials on this website can be found at:
https://www.testingdocs.com/raptor-a-flowchart-tool/
RAPTOR official website: https://raptor.martincarlisle.com/