Question Detail
Question
The following For-Next loop makes _________ passes. Sum=0 For I = 1 to 20 Sum=Sum+1 Next I
Correct Answer
Option B is the correct answer.
Detailed Explanation
A 'For I = 1 to 20' loop will execute its body (Sum=Sum+1) exactly 20 times: once when I=1, I=2, ..., up to I=20.
Hint
Count from the start value to the end value, inclusive.