(Choose 1 answer)
(See picture)
A. 10
B 6 C. None of the other choices is correct
D. 8
E. 7
Given the algorithm
procedure la (c, ao, a1,..., an integers)p:= 1 m:= a for i:= 1 to n p: = p*c m:= m+a* p
If the input consists of c = 4 and [a0,21,...,an] = [3, 6, 7, 8, 3]
how many multiplications (*) are used?
Back
Next
Ex (49
vat fini