what is the use of steps value in for loop ?
Answers
Answered by
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
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