what is the meaning of step-2 in for next loop
Answers
Answered by
1
Answer:
FOR COUNTER = 0 TO 10 STEP 2 PRINT "Counter:", COUNTER NEXT COUNTER ' END Counter: 0 Counter: 2 Counter: 4 Counter: 6 Counter: 8 Counter: 10. In this program, the STEP 2 means to count upward "by twos."
Similar questions