Computer Studies · Form 4 / Algorithms and programming
Multiple choiceExerciseForm 4
What is the output of: x ← 3; FOR i ← 1 TO 4: x ← x + i; NEXT; PRINT x
Source: Thuto360 practice
Computer Studies · Form 4 / Algorithms and programming
What is the output of: x ← 3; FOR i ← 1 TO 4: x ← x + i; NEXT; PRINT x