ExamPlay Light Logo
Se connecter

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 6 - No. 22)

Which loop structure is best used when the number of iterations is known before the loop starts?
REPEAT ... UNTIL
WHILE ... DO ... ENDWHILE
FOR ... TO ... NEXT
IF ... THEN ... ELSE ... ENDIF

Explication

The FOR loop is specifically designed for iterating a predetermined number of times.

Commentaires (0)

Connectez-vous pour commenter
Publicité
BrainBehindX Inc Logo
©2026; Alimenté par BrainBehindX Inc