Computer Science, asked by kabirajs801, 2 months ago

what is the use of steps value in for loop ?

Answers

Answered by sriyamisra774
1

Answer:

step value is the value by which the counter variable is incremented or decremented every time the loop body is executed. It can be a positive or a negative value, but it cannot be zero. The step value is optional.

Answered by BRAINhunter2020
1

step value is the value by which the counter variable is incremented or decremented every time the loop body is executed. It can be a positive or a negative value, but it cannot be zero. The step value is optiona

hope it helps ☺

Similar questions