Computer Science, asked by Anonymous, 3 months ago

What is the use of STEP statement on FOR …. NEXT? Explain with a suitable example​

Answers

Answered by Anonymous
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.

 \\  \\ hope \: it \: will \: help \: u

Similar questions