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