0
Answer

C++ program for this algo

Algorithm 2 (Traversing a linear array)this algorithm traverses a linear array LA with lower bound LB and upper bound UB. 1. Repeat for K = LB to UB: Apply process to LA[K] [End of loop] 2.Exit