(Choose 1 answer)
(See picture)
A 3
B. 1
C. 5
D. 0
Given the algorithm
i:=1
Procedure tt(a1, a2,..., a, integers)while (in) and (a ≠ai+1) do i:=i+1 if in then print(0)else print(i)
OF
E. None of the other choices is correct
F. 4
If the input is the list {1,3,5,5, 4, 4, 4,6,9}
what is the output?
Exit 6