CSEC Information Technology · May/June 2017 · Paper 1 · Question Q55
Item 55 refers to the following pseudocode.
Read A, B
If A < 2
C ← 2
Else
C ← 6
End if
D ← C*B+2
Write D
What is printed by the pseudocode if the input values are 5 and 2 respectively?