CSEC Information Technology · May/June 2019 · Paper 1 · Question Q46
Consider the following algorithm. a = 7 b = 9 a = b - a b = a + b Write a, b The output of this algorithm is
- (A)2, 9
- (B)2, 11
- (C)7, 9
- (D)7, 11
The answer is shown once you've answered.
Practise this question