What is the purpose of having STEP command in FOR statement?
Answers
Answered by
2
Answer:
The Next statement increments the counter variable by 1. Using the Step keyword, you can increase or decrease the counter variable by the value you specify. In the following example, the counter variable j is incremented by 2 each time the loop repeats
Similar questions
Social Sciences,
1 month ago
English,
1 month ago
Math,
1 month ago
English,
3 months ago
Math,
9 months ago