CSEC Information Technology · May/June 2019 · Paper 1 · Question Q51
Which of the following tasks does the following algorithm perform? Read (A, B) If A<B Then Print(A);
- (A)Reads two numbers and prints the first number
- (B)Reads two numbers and prints the smaller number
- (C)Reads two numbers and prints the first number if it is larger than the second number
- (D)Reads two numbers and prints the first number if it is smaller than the second number
The answer is shown once you've answered.
Practise this question