CSEC Information Technology · May/June 2018 · Paper 1 · Question Q53
Item 53 refers to the following statements.
(1) PRINT "ENTER an integer"
(2) READ n
(3) While n <> -1 DO
(4) n = n - 1
(5) Print n
(6) Endwhile
Which of the following series of numbers represents the correct output when the number 3 is input?