ExamPlay Dark Logo
Prihlásiť sa

Computer Science for IGCSE & O level - Programming (Section 13 - No. 25)

In the pseudocode example, the variable 'COUNTER' is incremented in each iteration. What is the role of COUNTER?
To store the total marks.
To control the loop's repetition.
To count the number of marks entered.
To calculate the average of the marks.

Vysvetlenie

COUNTER keeps track of the number of times the loop has run, effectively counting the marks.

Pripomienky (0)

Ak chcete komentovať, prihláste sa
Reklama
BrainBehindX Inc Logo
©2026; Beží na BrainBehindX Inc