Computer Science, asked by fiza6248, 3 months ago

What is the purpose of having STEP command in FOR statement?

Answers

Answered by chitrashri77
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