Skip to content

Task 8 of 36 · Computer science · Class 7

Loop Tracking

Task

Pseudocode: sum = 0; for each number in [2, 4, 1] make sum = sum + number. How does the sum change, and what is the result?

Your answer

Write your answer, check the solution, then rate it against the criteria.

This task and its solution are original SzkolaNa6 material. They are not a copy of a task from a textbook or another website.