What is the use of STEP statement on FOR …. NEXT? Explain with a suitable example
Answers
Answered by
1
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