(Choose 1 answer)
(See picture)
Given the following algorithm
A. 11
procedure LS (x, a1,i:=1while (i < n and x > a)i:= i +1an: integer)
B. 10
C. None of the other choices is correct
D. 6
How many comparisons used in the algorithm with input x = 10 and the sequence 1, 3, 5, 7, 9, 11?
E. 12
1