ExamPlay Dark Logo
Вход

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

What does the "Step 5" part of the `For` loop control in the given example: `For number to 10 to 50 Step 5`?
The starting value of the loop.
The ending value of the loop.
The increment value for each iteration.
The total number of iterations.

Обяснение

The `Step` value determines how much the loop variable (`number`) increases in each iteration.

Коментари (0)

Влезте, за да коментирате
Реклама
BrainBehindX Inc Logo
©2026; Осъществено от BrainBehindX Inc