An algorithm has been written in pseudocode to input some numbers. It only outputs any numbers that are greater than or equal to 100. The number 999 is not output and stops the algorithm.
INPUT Number
WHILE Numbers <> 999 DO
IF Number > 100
THEN
OUTPUT Number
ENDIF
ENDWHILE
OUTPUT Number
Error 1 .............................................................
Error 2 ..............................................................
Correction .......................................................
Error 3 ..............................................................
Correction .......................................................
Error 4 ..............................................................
Correction .......................................................
You do not need to rewrite the whole algorithm
Did this page help you?