A loop counter is a looping mechanism available in VB.NET that basically sets a variable to a value and then proceeds to increment a that variable every loop until it reaches the ending condition.
2. How many times does the Loop Execute?
The loop executes 100 times (99 if you only count every time it hits 'Next')
3. What is the final value of the NumberAccumulator variable?
100
Screenshot:
No comments:
Post a Comment