write a algorithm for transversal in a linear array
Answers
Answered by
3
Answer:
Traverse − print all the array elements one by one.or process the each element one by one .
Explanation:
Traversing Algorithm in Linear Array
Step 1 : [Initialization] Set I = LB.
Step 2 : Repeat Step 3 and Step 4 while I < = UB.
step 3 : [ processing ] Process the A[I] element.
Step 4 : [ Increment the counter ] I = I + 1.
Step 5: Exit.
please mark me as brainleist ans
Similar questions