ExamPlay Dark Logo
Hyni

Computer Science for IGCSE & O level - Programming (Section 10 - No. 31)

What is the purpose of the Step value in a FOR loop, such as `For number = 10 to 50 Step 5`?
To specify the starting point of the loop.
To specify the end point of the loop.
To determine the increment or decrement for each iteration.
To define the total number of iterations.

Shpjegimi

The Step value determines how the loop variable changes (increments or decrements) in each cycle.

Komentet (0)

Identifikohu për të komentuar
Reklamim
BrainBehindX Inc Logo
©2026; Mundësuar nga BrainBehindX Inc