Write true or false
1)Step value cannot be zero
Answers
Answered by
0
Answer:
- False
Explanation :
- The FOR… ... 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.
Answered by
2
Answer:
The step value is Optional
Explanation:
In a loop statement, step is the value by which the counter variable is incremented or decremented each time the loop body is executed. The step value can be positive or a negative value but it cannot be zero. The step value is optional.
Similar questions