Answer
Change the test in the while statement to read “target value not equal to current entry and there remains entries to be considered.”
Work Step by Step
Modify the sequential search procedure in the figure to allow for lists that are not sorted.
Change the test in the while statement to read “target value not equal to current entry and there remains entries to be considered.”