Final answer:
To construct an indexing array that results in a reversed order row array, follow these steps: create an empty array, initialize a variable, and add values to the array in reverse order.
Step-by-step explanation:
When constructing an indexing array indexarray that will result in a reversed order row array starting at startingindex down to element 1, you can use the following steps:
- Create the indexarray as an empty array.
- Initialize a variable i with the value of startingindex.
- While i is greater than 0, add the value of i to indexarray and decrement i by 1.
For example, if startingindex is 5, the resulting indexarray will be [5, 4, 3, 2, 1].